// 文档 https://github.com/hooke007/MPV_lazy/wiki/4_GLSL

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!WIDTH LUMA.w 4 *
//!HEIGHT LUMA.h 4 *
//!COMPONENTS 1
//!BIND LUMA
//!SAVE LANCZOS3
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] lanczos3

#define FIX(c)		max(abs(c), 1e-5)
#define PI		3.141592653

vec3 weight3(float x)
{
    vec3 s = FIX(2.0 * PI * vec3(x - 1.5, x - 0.5, x + 0.5));
    return sin(s) * sin(s / 3.0) / (s * s);
}

float line_run(float ypos, vec3 xpos1, vec3 xpos2, vec3 linetaps1, vec3 linetaps2)
{
    return float(LUMA_tex(vec2(xpos1.r, ypos))) * linetaps1.r + float(LUMA_tex(vec2(xpos1.g, ypos))) * linetaps2.r + float(LUMA_tex(vec2(xpos1.b, ypos))) * linetaps1.g + float(LUMA_tex(vec2(xpos2.r, ypos))) * linetaps2.g + float(LUMA_tex(vec2(xpos2.g, ypos))) * linetaps1.b + float(LUMA_tex(vec2(xpos2.b, ypos))) * linetaps2.b;
}

vec4 hook()
{
    vec2 pos = LUMA_pos + LUMA_pt * 0.5;
    vec2 f = fract(pos / LUMA_pt);

    vec3 linetaps1 = weight3(0.5 - f.x * 0.5);
    vec3 linetaps2 = weight3(1.0 - f.x * 0.5);
    vec3 columntaps1 = weight3(0.5 - f.y * 0.5);
    vec3 columntaps2 = weight3(1.0 - f.y * 0.5);

    float suml = dot(linetaps1, vec3(1.0)) + dot(linetaps2, vec3(1.0));
    float sumc = dot(columntaps1, vec3(1.0)) + dot(columntaps2, vec3(1.0));
    linetaps1 /= suml;
    linetaps2 /= suml;
    columntaps1 /= sumc;
    columntaps2 /= sumc;

    vec2 xystart = (-2.5 - f) * LUMA_pt + pos;
    vec3 xpos1 = vec3(xystart.x, xystart.x + LUMA_pt.x, xystart.x + LUMA_pt.x * 2.0);
    vec3 xpos2 = vec3(xystart.x + LUMA_pt.x * 3.0, xystart.x + LUMA_pt.x * 4.0, xystart.x + LUMA_pt.x * 5.0);

    return vec4(line_run(xystart.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps1.r + line_run(xystart.y + LUMA_pt.y, xpos1, xpos2, linetaps1, linetaps2) * columntaps2.r + line_run(xystart.y + LUMA_pt.y * 2.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.g + line_run(xystart.y + LUMA_pt.y * 3.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.g + line_run(xystart.y + LUMA_pt.y * 4.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps1.b + line_run(xystart.y + LUMA_pt.y * 5.0 , xpos1, xpos2, linetaps1, linetaps2) * columntaps2.b, 0, 0, 0);
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE1
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] feature map 1

vec4 hook()
{
vec4 res = vec4(-0.272556900978088,0.016205381602049,0.024111803621054,-0.036873336881399);
res += vec4(-0.062078449875116,0.005270434077829,-0.085441246628761,-0.058516815304756) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.054479271173477,-0.065426297485828,0.043057821691036,-0.082637883722782) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.246689900755882,0.127545535564423,-0.051343645900488,0.108584329485893) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.008440915495157,-0.032785963267088,-0.008905530907214,0.059489961713552) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.016343936324120,-0.058434218168259,0.018732298165560,0.016935113817453) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.001752011827193,-0.067389085888863,-0.003580342978239,0.172306507825851) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.131900563836098,0.041474431753159,0.044405005872250,0.060557931661606) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.270470738410950,-0.197597756981850,0.013811162672937,0.024431457743049) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.069565609097481,0.153658658266068,-0.068526297807693,-0.320961803197861) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.040001392364502,0.105703622102737,-0.041551679372787,0.014890391379595) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.050852570682764,0.032182276248932,-0.157798722386360,0.005411190446466) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.238271579146385,-0.120779700577259,-0.442270666360855,-0.741255223751068) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.378899484872818,0.238050922751427,-0.258952498435974,0.723386824131012) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.165911927819252,-0.062274605035782,0.242187887430191,0.140743404626846) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.073779754340649,-0.002968621440232,-0.008688340894878,0.084607355296612) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.019402367994189,-0.014090675860643,0.181572616100311,-0.046428434550762) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.032073095440865,0.140667304396629,0.292494237422943,0.236761942505836) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.170896202325821,-0.162107005715370,0.345607429742813,-0.476996988058090) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.170765951275826,0.035516846925020,-0.235448122024536,0.026131616905332) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.091161496937275,-0.043051525950432,-0.018994161859155,0.072468899190426) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.025895813480020,0.005552121438086,0.000876268721186,-0.066410146653652) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.046007182449102,0.041207935661077,-0.005229897331446,-0.021012857556343) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.012874243780971,-0.138760164380074,0.080886520445347,0.106985971331596) * float(LUMA_texOff(vec2(2,0)));
res += vec4(-0.011961608193815,-0.064019277691841,0.067044451832771,0.099970772862434) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.037476558238268,0.055103793740273,0.012923784554005,-0.058734983205795) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE2
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] feature map 2

vec4 hook()
{
vec4 res = vec4(0.262170255184174,0.032053466886282,0.004765865858644,0.038055453449488);
res += vec4(0.036485373973846,-0.049773175269365,0.051837570965290,0.011761488392949) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.139690786600113,-0.014707199297845,-0.080452792346478,0.119652584195137) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.009430627338588,0.048423763364553,0.054953988641500,-0.189864307641983) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.002608201233670,-0.002837839070708,-0.028152069076896,-0.021006949245930) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.020963350310922,0.043664760887623,-0.068812847137451,0.002036376390606) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.014281816780567,-0.024540586397052,-0.097650013864040,0.047522086650133) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.040373478084803,-0.033870361745358,0.055697500705719,-0.150523543357849) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.087974056601524,0.037578858435154,-0.077960655093193,0.014436312019825) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.136340171098709,0.025521909818053,0.082522116601467,-0.154539361596107) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.093387685716152,0.035390723496675,0.020101917907596,0.019531190395355) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.102188691496849,-0.014742947183549,0.090267539024353,-0.041608277708292) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.305820167064667,-0.102164879441261,0.030776094645262,-0.326866328716278) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.094219818711281,0.067951329052448,0.114436581730843,0.739700675010681) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.033790126442909,-0.044259808957577,-0.129243075847626,0.457100957632065) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.042975101619959,0.020103363320231,0.014694500714540,-0.155019938945770) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.019323404878378,0.082682184875011,-0.098763212561607,0.053505655378103) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.194290816783905,0.049981910735369,0.027704618871212,-0.065367259085178) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(-0.261522799730301,-0.083269529044628,0.199281826615334,-0.024251956492662) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.147448614239693,-0.000002792710802,-0.055909022688866,-0.319178491830826) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.052540354430676,-0.120404139161110,-0.079477474093437,0.021532678976655) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.074975594878197,-0.010202640667558,0.034499831497669,-0.021291181445122) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.179029807448387,0.000218747547478,-0.034505553543568,0.047202739864588) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.013273417018354,-0.012428110465407,0.028961088508368,-0.093642681837082) * float(LUMA_texOff(vec2(2,0)));
res += vec4(-0.029011270031333,0.034199740737677,-0.090095132589340,-0.045143339782953) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.006283084861934,0.001365517848171,0.016310228034854,-0.004059479571879) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE3
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] feature map 3

vec4 hook()
{
vec4 res = vec4(-0.610848188400269,0.037037696689367,-0.298388510942459,-0.323344409465790);
res += vec4(0.013846263289452,-0.047358445823193,-0.012002430856228,-0.006077958736569) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(-0.031256720423698,0.048293784260750,-0.077098436653614,0.032784484326839) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.042452961206436,0.077151998877525,-0.109486348927021,0.096112333238125) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.029653953388333,0.019643777981400,-0.067789785563946,-0.005020494107157) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(-0.022800337523222,-0.099107965826988,-0.002435357542709,0.024674089625478) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.068614497780800,-0.008427988737822,0.027571182698011,-0.039018504321575) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.007410986814648,-0.095001809298992,-0.079915635287762,-0.198382526636124) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(0.142366483807564,-0.598396837711334,-0.287199825048447,0.114536948502064) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.012698735110462,0.119430765509605,0.223834335803986,0.001913015148602) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.000005463934940,-0.055329095572233,-0.107151068747044,-0.092331089079380) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(0.122979521751404,0.094392649829388,-0.038337502628565,0.056231267750263) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.185547620058060,-0.147374019026756,0.145011708140373,0.065087057650089) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(0.582766056060791,0.137238711118698,0.263118922710419,1.522491931915283) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.166425421833992,-0.008257768116891,0.642818272113800,0.001258007599972) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.105569340288639,-0.058406557887793,-0.003828148823231,0.166733399033546) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.033979617059231,-0.035257011651993,0.050418443977833,-0.057890310883522) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.073432564735413,0.149292886257172,-0.197179958224297,-0.171655535697937) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.341304272413254,0.468713998794556,0.209657683968544,-0.049078188836575) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.003944530617446,-0.335257321596146,-0.090983815491199,-0.217708826065063) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.040023922920227,0.166397690773010,0.002738644136116,-0.100021779537201) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.052453972399235,0.065180651843548,-0.004460087511688,-0.002661564154550) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.030214648693800,-0.015747113153338,0.041846647858620,-0.100938051939011) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.112078651785851,0.163016051054001,0.046455919742584,0.141059592366219) * float(LUMA_texOff(vec2(2,0)));
res += vec4(-0.010548973456025,-0.097096681594849,0.087051644921303,0.016697028651834) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.033091142773628,-0.003834132105112,0.052910633385181,-0.015581323765218) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE4
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] feature map 4

vec4 hook()
{
vec4 res = vec4(0.113059915602207,-0.006170090287924,0.015551275573671,0.014371665194631);
res += vec4(-0.018330469727516,0.072629354894161,0.026096601039171,-0.059269901365042) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.083763539791107,0.008855260908604,-0.014138187281787,-0.003663385985419) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.069899901747704,0.098804593086243,-0.012437794357538,0.205847099423409) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.038131196051836,-0.322365283966064,0.022197406738997,-0.097877264022827) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.029962448403239,0.107943467795849,0.002829389180988,0.085748039186001) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(-0.050537757575512,-0.060567338019609,-0.036079645156860,0.065213747322559) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.082459427416325,0.172542288899422,0.000171552965185,0.145874619483948) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.344006180763245,-0.112562686204910,-0.014933519996703,-0.236916601657867) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.182777479290962,-0.156549498438835,0.061223793774843,0.069376088678837) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.060037024319172,-0.134469404816628,-0.037063762545586,-0.100021146237850) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.112477995455265,0.128850102424622,0.117218799889088,0.089839145541191) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.347875952720642,-0.004870838485658,-0.029350737109780,0.035502020269632) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.035408966243267,0.294430404901505,-0.089282572269440,0.000757829810027) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.213278710842133,-0.094397582113743,-0.030902305617929,-0.123654715716839) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.135457411408424,-0.069560036063194,0.074685893952847,0.036332450807095) * float(LUMA_texOff(vec2(0,2)));
res += vec4(-0.009621500037611,-0.036263931542635,-0.063508324325085,-0.009322796016932) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.182733833789825,-0.033782478421926,0.039650548249483,-0.076232142746449) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.137155637145042,0.120139822363853,0.014624855481088,0.054032798856497) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.051313735544682,0.077278301119804,-0.129030108451843,-0.006433025468141) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.036339405924082,-0.047832991927862,0.066931530833244,-0.032820038497448) * float(LUMA_texOff(vec2(1,2)));
res += vec4(0.031497862190008,-0.049080450087786,-0.038041438907385,-0.047722633928061) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.024262474849820,-0.067054234445095,-0.014015906490386,0.070766717195511) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.029376076534390,0.139139592647552,0.098930589854717,-0.128926351666451) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.014253879897296,-0.009332558140159,-0.002177048474550,0.006326362956315) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.003829740453511,-0.042039860039949,-0.020706444978714,0.031615156680346) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE5
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] feature map 5

vec4 hook()
{
vec4 res = vec4(0.017645558342338,0.022323174402118,-0.034334957599640,-0.046024132519960);
res += vec4(-0.070194870233536,0.032684933394194,0.021485134959221,0.054875619709492) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.135881438851357,0.031459156423807,-0.212020695209503,0.022526623681188) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(0.123772643506527,0.138833537697792,0.149969682097435,0.044825132936239) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(0.015920463949442,0.008250218816102,-0.136230170726776,-0.068690903484821) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.065914392471313,-0.160859376192093,0.122582450509071,-0.006967349443585) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.214644014835358,0.013801911845803,-0.032994523644447,-0.117791965603828) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(0.383737951517105,0.020921843126416,0.079441234469414,-0.336635977029800) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.077032573521137,-0.135512411594391,0.054049260914326,0.756931424140930) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.041079569607973,0.080711632966995,-0.133193626999855,0.068057395517826) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(0.044375155121088,0.032227907329798,-0.012409332208335,-0.051710084080696) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.155152112245560,0.020551955327392,-0.097127638757229,0.085977680981159) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(0.000041131537728,0.048393592238426,0.141218841075897,0.082132250070572) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.536345899105072,-0.225730165839195,-0.436244010925293,-1.220882415771484) * float(LUMA_texOff(vec2(0,0)));
res += vec4(0.263033479452133,0.054968949407339,0.329040229320526,0.640665650367737) * float(LUMA_texOff(vec2(0,1)));
res += vec4(-0.120384953916073,0.017074640840292,-0.021111208945513,0.105984032154083) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.017232794314623,-0.084023430943489,0.069664701819420,-0.057303134351969) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(-0.075541734695435,-0.087480925023556,0.052017558366060,0.239258036017418) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.001664833165705,0.176374822854996,0.403617620468140,0.244222015142441) * float(LUMA_texOff(vec2(1,0)));
res += vec4(-0.188496157526970,-0.087329261004925,-0.164998531341553,-0.348230481147766) * float(LUMA_texOff(vec2(1,1)));
res += vec4(-0.012431616894901,0.053417049348354,-0.158466950058937,0.024263033643365) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.046179346740246,-0.027968974784017,0.037748526781797,-0.013039256446064) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(0.027680654078722,-0.049167126417160,-0.023049730807543,-0.034507673233747) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(-0.110687330365181,0.066138327121735,-0.054212506860495,0.116106145083904) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.086200527846813,-0.127029716968536,0.072893753647804,-0.121930487453938) * float(LUMA_texOff(vec2(2,1)));
res += vec4(-0.062555506825447,0.112938150763512,0.051106788218021,0.024594197049737) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND LUMA
//!SAVE FEATURE6
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] feature map 6

vec4 hook()
{
vec4 res = vec4(0.279987692832947,0.296723008155823,0.043900243937969,-0.006412528920919);
res += vec4(0.039565559476614,-0.040534686297178,0.026875277981162,-0.107407942414284) * float(LUMA_texOff(vec2(-2,-2)));
res += vec4(0.215587109327316,-0.069597154855728,-0.162763088941574,0.049385063350201) * float(LUMA_texOff(vec2(-2,-1)));
res += vec4(-0.112291425466537,-0.077290117740631,0.104223296046257,-0.021789364516735) * float(LUMA_texOff(vec2(-2,0)));
res += vec4(-0.065227404236794,0.017816355451941,0.073860190808773,0.037316147238016) * float(LUMA_texOff(vec2(-2,1)));
res += vec4(0.021927969530225,-0.040577035397291,-0.013211581856012,-0.008844347670674) * float(LUMA_texOff(vec2(-2,2)));
res += vec4(0.053929097950459,-0.022394850850105,-0.035266943275928,0.005810308735818) * float(LUMA_texOff(vec2(-1,-2)));
res += vec4(-0.157174929976463,-0.088382489979267,0.536245465278625,0.012265580706298) * float(LUMA_texOff(vec2(-1,-1)));
res += vec4(-0.152255177497864,-0.120978042483330,-0.634236931800842,0.202640473842621) * float(LUMA_texOff(vec2(-1,0)));
res += vec4(0.042233165353537,-0.044534388929605,0.118862584233284,0.041357271373272) * float(LUMA_texOff(vec2(-1,1)));
res += vec4(-0.010655779391527,0.006208652164787,-0.010836943984032,-0.073602251708508) * float(LUMA_texOff(vec2(-1,2)));
res += vec4(-0.051900170743465,-0.005993383936584,-0.010498351417482,0.067999124526978) * float(LUMA_texOff(vec2(0,-2)));
res += vec4(-0.053296621888876,0.048276863992214,0.075203411281109,0.027808045968413) * float(LUMA_texOff(vec2(0,-1)));
res += vec4(-0.548144519329071,-0.236249431967735,-1.036851525306702,-0.179892599582672) * float(LUMA_texOff(vec2(0,0)));
res += vec4(-0.142531171441078,0.040604624897242,0.338407158851624,-0.021486109122634) * float(LUMA_texOff(vec2(0,1)));
res += vec4(0.011380693875253,0.037892691791058,0.139589279890060,0.043687116354704) * float(LUMA_texOff(vec2(0,2)));
res += vec4(0.151222556829453,0.053778633475304,-0.061599861830473,0.059943858534098) * float(LUMA_texOff(vec2(1,-2)));
res += vec4(0.095063418149948,-0.036366920918226,0.065384812653065,-0.076452940702438) * float(LUMA_texOff(vec2(1,-1)));
res += vec4(0.003681377740577,-0.175326824188232,0.550307452678680,-0.010555976070464) * float(LUMA_texOff(vec2(1,0)));
res += vec4(0.033233202993870,0.020849488675594,0.087157949805260,-0.018329933285713) * float(LUMA_texOff(vec2(1,1)));
res += vec4(0.010702486149967,0.015931235626340,-0.131913170218468,-0.054639697074890) * float(LUMA_texOff(vec2(1,2)));
res += vec4(-0.005627988371998,-0.019280310720205,0.000199795118533,-0.005876518320292) * float(LUMA_texOff(vec2(2,-2)));
res += vec4(-0.018906233832240,0.044787295162678,-0.066585004329681,-0.032525569200516) * float(LUMA_texOff(vec2(2,-1)));
res += vec4(0.051446136087179,0.026037992909551,0.060950797051191,0.026138717308640) * float(LUMA_texOff(vec2(2,0)));
res += vec4(0.010342124849558,0.093395493924618,-0.129520535469055,-0.013725560158491) * float(LUMA_texOff(vec2(2,1)));
res += vec4(0.018495280295610,-0.128225401043892,0.079556368291378,0.080149821937084) * float(LUMA_texOff(vec2(2,2)));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 1_1

vec4 hook()
{
vec4 res = vec4(-0.216533586382866,0.123702801764011,-0.042089637368917,-0.100128993391991);
res += mat4(-0.010869612917304,0.009820383973420,0.033163491636515,-0.141121476888657,0.030219061300159,-0.087994545698166,0.005803058855236,-0.185858994722366,0.057269312441349,0.047026127576828,-0.027067046612501,-0.038438215851784,0.039832379668951,-0.032604839652777,0.095410600304604,0.076238095760345) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.261196166276932,0.054149109870195,-0.060106344521046,-0.153929308056831,-0.082074955105782,-0.008526188321412,0.002035951940343,-0.108604855835438,0.194503918290138,0.028704792261124,-0.056176181882620,0.180786684155464,-0.231178864836693,0.130529671907425,-0.058815840631723,-0.094289198517799) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.015463081188500,-0.010541438125074,-0.049303259700537,0.075921483337879,-0.036261182278395,-0.051055878400803,0.023225924000144,0.016464013606310,0.158169552683830,-0.045732676982880,-0.039721548557281,0.209818124771118,0.087106928229332,0.016468049958348,-0.029412267729640,0.240868300199509) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.092020854353905,0.056145783513784,-0.037794336676598,-0.002349715912715,-0.028993699699640,-0.000661843107082,-0.031306762248278,0.086177282035351,-0.004971739836037,-0.151484787464142,-0.060545615851879,0.113367214798927,0.073088996112347,0.041780699044466,-0.021147774532437,0.008443140424788) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.011815582402050,-0.289723485708237,0.082051828503609,0.103420041501522,0.046609509736300,-0.197216764092445,0.055986173450947,0.030933845788240,0.007010046858341,0.223700195550919,-0.002318253507838,0.070899367332458,0.008928136900067,-0.331851840019226,0.177257552742958,0.066614553332329) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.041681010276079,0.175388380885124,-0.098242178559303,0.061567250639200,0.017528487369418,0.062218375504017,0.033330827951431,-0.007825061678886,-0.044623605906963,0.138468220829964,-0.117518052458763,-0.067050896584988,0.003157027997077,0.236785978078842,-0.192598387598991,0.028307884931564) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.028012759983540,-0.058464646339417,-0.101416014134884,-0.050781425088644,-0.013419910334051,-0.006875998806208,-0.040380455553532,-0.001490512862802,-0.048181146383286,0.032069120556116,-0.094164915382862,0.037308204919100,0.024194641038775,-0.041922587901354,-0.020522985607386,0.012877424247563) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.046235393732786,-0.023961737751961,0.014300643466413,-0.034619316458702,-0.056234426796436,0.081572867929935,-0.030635090544820,-0.001590624102391,0.093450479209423,-0.075315035879612,0.019630013033748,-0.032542299479246,-0.058843001723289,0.156716376543045,0.054447576403618,-0.118116021156311) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.017211202532053,-0.096855401992798,-0.091889329254627,0.033938325941563,-0.019669706001878,-0.066282913088799,0.050382982939482,0.036095142364502,0.003215095726773,-0.053838390856981,0.047519654035568,0.031609192490578,0.002084655454382,0.038281351327896,-0.104871913790703,-0.055869456380606) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.052102070301771,-0.055748362094164,0.092899687588215,-0.108208157122135,0.016989784315228,0.041692364960909,-0.028288198634982,-0.139266625046730,0.024257710203528,0.068000860512257,-0.019715184345841,-0.125938743352890,-0.058855555951595,0.006963645108044,0.088108055293560,-0.173091739416122) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.009983568452299,0.103441916406155,0.046801373362541,-0.049717761576176,-0.017626749351621,0.009858939796686,-0.020809149369597,-0.063120231032372,-0.000407119427109,-0.023434313014150,-0.038714103400707,-0.007758072577417,-0.217506244778633,-0.011896894313395,0.005950913764536,-0.164963319897652) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.025046119466424,0.110100805759430,-0.014177568256855,-0.042850051075220,-0.007933082059026,-0.019636426120996,0.008677448146045,0.057330362498760,-0.013335910625756,-0.007581889163703,-0.014030734077096,0.087026223540306,-0.083567455410957,-0.028351867571473,0.032454568892717,0.037091653794050) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.084603875875473,-0.075000859797001,0.029454123228788,0.075161427259445,-0.004051601979882,0.060940388590097,0.003524303436279,-0.003458053106442,-0.027598751708865,0.038615930825472,-0.064053036272526,0.010138274170458,0.002861731220037,-0.002078106626868,-0.153467774391174,-0.038777820765972) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.031410481780767,0.140325263142586,0.127464830875397,0.074961930513382,0.004872480873019,-0.127593159675598,0.020638996735215,-0.007355453446507,0.024902500212193,-0.031716629862785,-0.014059024862945,0.019989805296063,-0.047710124403238,-0.161384150385857,0.170639395713806,0.147006466984749) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.029171658679843,0.063768602907658,0.025744387879968,0.015073903836310,-0.026167867705226,0.058594830334187,0.003138385945931,0.034046251326799,-0.026888471096754,0.015804983675480,-0.022119367495179,0.051973100751638,-0.052402969449759,0.034575246274471,0.001407309318893,0.061345420777798) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.034470491111279,0.018728179857135,-0.039426576346159,0.048993833363056,-0.017636734992266,-0.014867698773742,-0.048171199858189,0.023408966138959,0.018503412604332,0.017287615686655,-0.073917977511883,-0.006455366499722,-0.018727449700236,-0.030420152470469,-0.067340485751629,0.022919556125998) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.002638669917360,0.026886725798249,0.120380610227585,0.005478333681822,0.025547804310918,-0.026702376082540,0.022128621116281,0.016524368897080,-0.023785727098584,0.047554679214954,-0.020954472944140,0.029666796326637,0.083523057401180,0.065702632069588,0.103818692266941,0.071719460189342) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.006257287692279,0.066140294075012,0.110547050833702,0.063903093338013,0.025997523218393,-0.020937597379088,-0.018508553504944,0.027622252702713,0.033361349254847,0.023147877305746,-0.003700302913785,0.064605720341206,-0.046965792775154,0.102049566805363,0.002826357493177,0.019114062190056) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.019276330247521,-0.048402275890112,-0.005455886013806,-0.055289357900620,0.020097473636270,0.050679683685303,0.086232021450996,-0.177832260727882,-0.191696539521217,0.024043694138527,0.077631168067455,-0.089465662837029,-0.080113969743252,0.099631503224373,0.066467709839344,-0.176978379487991) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.319161474704742,-0.111639648675919,-0.015455385670066,0.069990873336792,0.013571415096521,-0.083930887281895,-0.052722651511431,0.023503841832280,-0.112196698784828,-0.002698504365981,0.071026355028152,0.040334194898605,-0.616405308246613,0.199869289994240,0.026435839012265,-0.373580038547516) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.066297300159931,0.010675053112209,-0.080109246075153,0.093748234212399,-0.006423830986023,0.022106828168035,-0.024935763329268,0.206686720252037,-0.118629582226276,0.143079102039337,-0.004088216926903,0.044383943080902,-0.210602894425392,-0.011414092034101,0.045721583068371,-0.062697172164917) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.058818295598030,0.101241886615753,-0.102890163660049,-0.006965284235775,-0.036421306431293,-0.039124350994825,-0.101164795458317,-0.024832073599100,-0.041379839181900,-0.155874162912369,-0.137871861457825,0.080489940941334,-0.001993299461901,0.244263172149658,-0.185199499130249,-0.263564974069595) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.031750909984112,-0.148421257734299,0.017529165372252,0.108979992568493,0.169827327132225,0.009967829100788,0.022883210331202,0.170194908976555,0.032101441174746,0.062091942876577,0.071684576570988,0.005153871607035,-0.010554453358054,-0.500223815441132,0.178478598594666,0.107002764940262) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.034916561096907,0.066346049308777,-0.169300302863121,0.051193684339523,0.042900908738375,0.004690766334534,-0.108629934489727,-0.123681202530861,-0.023056371137500,-0.218123078346252,0.032311875373125,0.031672433018684,0.064533703029156,0.064989879727364,0.034554280340672,0.066626586019993) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.052267432212830,0.070676639676094,0.072586461901665,0.066942401230335,0.007955961860716,0.022326398640871,-0.150378346443176,0.024819415062666,0.043657895177603,-0.009300831705332,0.128539413213730,0.143742635846138,-0.000921819824725,0.112264700233936,-0.140273630619049,-0.004440776072443) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.011442182585597,0.072731345891953,0.086860910058022,0.074170552194118,-0.037903886288404,0.227963402867317,-0.093143433332443,-0.041136071085930,0.029868604615331,0.162629544734955,0.087613426148891,0.025259707123041,-0.054382666945457,0.220967367291451,0.097453564405441,-0.000285221787635) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.023460922762752,0.020505387336016,-0.043763134628534,0.004341769032180,-0.033881776034832,0.067431189119816,0.058444965630770,-0.010883253067732,0.033019579946995,0.045576814562082,0.133466348052025,-0.056406486779451,0.011644552461803,0.040897242724895,-0.046548072248697,-0.061766326427460) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.093675509095192,0.033356517553329,-0.009829642251134,0.034341823309660,0.073998801410198,0.063843913376331,-0.051866430789232,0.021313531324267,-0.063899606466293,-0.045321930199862,0.060565147548914,0.055128201842308,0.004640671424568,-0.032208699733019,0.044863779097795,-0.054938975721598) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.030923305079341,0.121125183999538,0.017495054751635,0.031961623579264,-0.042754754424095,-0.093977145850658,-0.059560943394899,-0.018413646146655,-0.056888546794653,-0.027483304962516,-0.061947558075190,0.038751486688852,-0.051825676113367,-0.092064917087555,-0.018427601084113,-0.014877729117870) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.005760065279901,0.063860036432743,-0.009425545111299,0.122435584664345,0.076959937810898,-0.062261912971735,0.032474808394909,-0.100351072847843,-0.045800395309925,0.012342689558864,-0.054928503930569,0.038119696080685,-0.040084641426802,0.010952523909509,0.018447013571858,0.063609980046749) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.083142600953579,-0.163905322551727,-0.127402618527412,0.148092225193977,0.035854943096638,0.071131408214569,-0.139289140701294,-0.116146214306355,-0.034265711903572,-0.125060871243477,-0.068492777645588,-0.025830805301666,0.012077196501195,0.001215667696670,-0.032178521156311,-0.034677002578974) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.148504063487053,-0.127147480845451,0.186355859041214,0.063270181417465,0.055006675422192,-0.208586841821671,0.015419692732394,0.035449065268040,-0.065454728901386,-0.072154484689236,-0.021780887618661,0.032112073153257,0.039253603667021,-0.124515093863010,-0.047664444893599,0.030295733362436) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.028059953823686,0.070338182151318,-0.027614135295153,-0.072347223758698,-0.046450197696686,0.104760341346264,-0.058842930942774,-0.046779543161392,-0.057758189737797,-0.021119963377714,-0.076723732054234,0.006849976722151,-0.031016180291772,0.001428096555173,0.010638320818543,-0.037917695939541) * FEATURE4_texOff(vec2(0,1));
res += mat4(-0.053423792123795,-0.121196448802948,-0.206418320536613,0.036425024271011,0.166267082095146,0.187391296029091,0.101144224405289,0.075204782187939,0.005302148405463,0.003144129645079,-0.117802783846855,0.046241372823715,0.028972843661904,0.009056337177753,0.007914781570435,-0.037602256983519) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.026787949725986,0.110001370310783,0.001592778949998,-0.089234583079815,-0.056041952222586,0.171054974198341,0.022456541657448,-0.039701074361801,-0.040764093399048,-0.052526500076056,-0.029393455013633,0.040628612041473,-0.055506341159344,-0.008441324345767,-0.079154707491398,0.005857575219125) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.036606781184673,0.014660824090242,-0.067625261843204,-0.037890285253525,0.020390896126628,-0.004605279304087,-0.016824893653393,-0.069309145212173,-0.046946708112955,-0.091342352330685,0.007040412630886,0.022306842729449,0.005737219471484,-0.097370840609074,-0.021816331893206,0.030206046998501) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.058733772486448,0.036473006010056,0.041417691856623,-0.020230539143085,-0.008664194494486,0.032054509967566,-0.044964250177145,0.079866379499435,-0.050411053001881,0.054955240339041,-0.097053304314613,-0.007165516261011,-0.132279321551323,0.091137461364269,0.005207757931203,0.154836878180504) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.145505681633949,-0.099853187799454,-0.039344001561403,0.119061186909676,0.105946801602840,-0.033648602664471,-0.038966741412878,0.019104907289147,0.115847691893578,-0.123300932347775,0.021367004141212,0.162375256419182,0.271780699491501,-0.119803152978420,0.028409175574780,0.085719563066959) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.010783641599119,0.028339110314846,0.049337830394506,-0.052061207592487,-0.002272489015013,0.060810379683971,-0.063177637755871,-0.032751686871052,0.008504856377840,0.042045701295137,0.019169718027115,0.077159360051155,0.067339405417442,0.023060860112309,-0.030276428908110,-0.091166086494923) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.026727262884378,-0.128219336271286,0.074982382357121,0.092838346958160,-0.009994569234550,-0.065403945744038,-0.062553815543652,0.049354325979948,-0.033259585499763,-0.080252870917320,-0.115563318133354,0.162984758615494,0.043335348367691,-0.261456489562988,-0.021235108375549,0.073518320918083) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.014203505590558,0.249774992465973,-0.055148299783468,-0.023239661008120,0.013461318798363,0.110451944172382,-0.041572142392397,0.006222982425243,-0.033620785921812,0.168715015053749,-0.093805454671383,-0.077917106449604,-0.216657415032387,0.353778868913651,-0.143632665276527,-0.182891473174095) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.004473302979022,-0.265073329210281,0.065344184637070,-0.090007610619068,0.017332952469587,-0.086057014763355,-0.008479755371809,-0.001364960800856,-0.065879590809345,-0.161802083253860,-0.000816967221908,0.007569764275104,0.040407236665487,-0.076519317924976,-0.038408581167459,0.080344699323177) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.014877804554999,-0.094264253973961,0.003307809587568,-0.162139594554901,0.021714255213737,-0.002980908844620,-0.040615882724524,-0.077459201216698,0.019706245511770,0.064669743180275,0.073897585272789,0.027217479422688,0.013667592778802,0.105374440550804,-0.077911943197250,-0.083814471960068) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.048530649393797,-0.173560664057732,-0.129322826862335,-0.157750010490417,-0.080101832747459,0.032030332833529,-0.056118920445442,0.038017503917217,-0.024438148364425,-0.073629215359688,0.028944777324796,-0.018936812877655,0.029227096587420,-0.212206497788429,0.093036524951458,0.040322985500097) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.008586608804762,-0.168893471360207,0.057273119688034,0.039897482842207,-0.046872351318598,-0.046702601015568,0.043860692530870,0.037990335375071,0.096749641001225,0.101774759590626,0.018763914704323,0.112865962088108,-0.023279432207346,0.111731633543968,0.055955100804567,0.067966677248478) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.010170978493989,0.054984506219625,0.000827798736282,0.086463734507561,-0.071339100599289,-0.037808399647474,-0.050000671297312,-0.021346533671021,-0.100708216428757,0.017787264660001,-0.009425517171621,-0.091297537088394,0.012062927708030,0.071964956820011,-0.030528681352735,-0.012738697230816) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.215094685554504,0.033630609512329,-0.063798710703850,0.074148386716843,0.082200177013874,0.039421349763870,-0.010958204977214,-0.014064455404878,0.210440889000893,-0.026017919182777,-0.008608213625848,0.379773378372192,0.073189720511436,0.015438671223819,-0.022246651351452,-0.012102188542485) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.016341825947165,0.014369529671967,-0.029473355039954,-0.069321520626545,-0.059694439172745,0.013651189394295,0.058254770934582,-0.065436713397503,0.026788678020239,-0.092208579182625,0.105832308530807,0.049708422273397,0.057489834725857,-0.000091298737971,-0.018406966701150,-0.052128661423922) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.051771268248558,-0.014780028723180,0.068042561411858,-0.018804354593158,-0.115830063819885,-0.129528805613518,-0.071063302457333,-0.002456316957250,-0.098061919212341,-0.186053544282913,-0.095299735665321,0.191877275705338,0.003695513354614,0.044606816023588,-0.023407600820065,-0.104112543165684) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.036929506808519,0.045885428786278,-0.111090667545795,-0.000678404292557,-0.015639517456293,-0.015416895970702,0.004621884785593,-0.035344708710909,0.136531114578247,0.201951757073402,-0.105356439948082,-0.083717800676823,-0.045936938375235,0.098184414207935,-0.056403253227472,-0.023445375263691) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.045355796813965,-0.063326649367809,0.005243038758636,-0.075315125286579,-0.132030054926872,-0.070381015539169,0.081909507513046,-0.009762124158442,-0.040256492793560,-0.075594186782837,0.064737617969513,-0.165589421987534,-0.036173265427351,-0.007295060437173,0.003541036043316,0.027202591300011) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.069302044808865,-0.088194511830807,-0.063405260443687,0.038438890129328,-0.063711851835251,0.088069163262844,-0.080218367278576,0.068995624780655,-0.009873929433525,0.010336701758206,0.092499084770679,-0.046942140907049,-0.018563322722912,-0.099821835756302,-0.022362111136317,-0.001819180673920) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.038438469171524,-0.011049007065594,-0.085771672427654,0.005686786491424,-0.003947408869863,0.052339758723974,-0.051862824708223,0.010741517879069,-0.088737227022648,0.074881672859192,-0.092746630311012,-0.130360364913940,0.055902510881424,-0.132380142807961,0.025756886228919,0.102174602448940) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.087940350174904,-0.051660437136889,-0.051909200847149,-0.038462385535240,-0.089061804115772,0.110984854400158,0.017316881567240,0.054152995347977,0.048567540943623,-0.071990847587585,0.204167395830154,-0.076933249831200,0.021994534879923,-0.099619172513485,0.012071277946234,0.018058121204376) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.011663204990327,0.919860303401947,0.011145100928843,-0.063963904976845) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 1_2

vec4 hook()
{
vec4 res = vec4(-0.469807088375092,-0.032488584518433,-0.112720020115376,0.021028211340308);
res += mat4(0.066572614014149,-0.034127190709114,-0.041370607912540,0.079957038164139,0.003270613728091,0.026767643168569,-0.095358856022358,0.147385314106941,-0.083061017096043,0.109215550124645,0.045937050133944,-0.136632099747658,0.037496708333492,-0.043069891631603,-0.097727388143539,0.067515142261982) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.044791009277105,0.042528960853815,-0.043532177805901,-0.371595710515976,-0.030570723116398,-0.055348291993141,0.042687579989433,-0.226850286126137,-0.089165933430195,0.129147231578827,0.014174773357809,0.128156349062920,0.038766048848629,-0.031517226248980,0.042686935514212,-0.318801790475845) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.003726958530024,-0.143369466066360,0.060483664274216,0.031580723822117,0.013912796974182,-0.095139153301716,-0.028809715062380,0.011773915961385,-0.047067951411009,0.111963413655758,-0.029892675578594,-0.018913911655545,-0.022929750382900,-0.137069284915924,0.065407447516918,0.123420216143131) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.169275522232056,0.007253301329911,-0.023728538304567,-0.084120750427246,-0.004899381659925,0.044141333550215,0.012279511429369,-0.030742129310966,0.113974913954735,-0.005260110367090,-0.017062375321984,0.286274820566177,-0.112205944955349,0.168927937746048,0.022425290197134,0.068161509931087) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.034189712256193,0.034942492842674,-0.069388270378113,0.225209802389145,0.024664634838700,0.026519771665335,0.011704567819834,0.056541912257671,0.168014660477638,-0.088327862322330,0.001553202746436,0.093309372663498,0.188917770981789,0.056443300098181,-0.038172416388988,0.199237093329430) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.091113604605198,-0.094954118132591,0.028709957376122,-0.090210646390915,0.012750120833516,-0.086359001696110,0.075494855642319,0.016062049195170,0.036495365202427,-0.097345203161240,-0.064753644168377,-0.084960773587227,-0.076071955263615,-0.179010778665543,0.216139048337936,0.010658477433026) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.108565084636211,-0.016971319913864,0.064016364514828,-0.092021040618420,-0.002487370278686,0.005864621140063,-0.031914267688990,0.167907491326332,0.074544481933117,0.009073657914996,0.101533748209476,-0.213319063186646,0.065794721245766,0.071467265486717,0.119546420872211,-0.011904017068446) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.039150457829237,0.034129124134779,-0.063324809074402,-0.012256471440196,0.010304143652320,-0.034069042652845,0.090685345232487,-0.134945154190063,0.026631936430931,-0.007171044126153,0.001815860741772,-0.049965616315603,-0.031700823456049,0.068232640624046,-0.027286987751722,-0.111237823963165) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.001435770536773,-0.040746681392193,0.021444603800774,0.025398992002010,0.036088757216930,0.009696990251541,-0.049236286431551,0.057427659630775,-0.018421227112412,-0.015240975655615,0.051126413047314,-0.030778713524342,-0.056161891669035,-0.058415468782187,0.090253502130508,0.075825817883015) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.236331820487976,-0.080265477299690,-0.077818945050240,0.142625331878662,0.019201902672648,0.020884551107883,-0.026216937229037,-0.054080039262772,-0.085499368607998,0.011170614510775,0.049533292651176,0.064024060964584,-0.061712056398392,-0.101083703339100,-0.074790671467781,0.042636416852474) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.234247043728828,0.088521495461464,0.034875042736530,-0.080148711800575,-0.016695788130164,-0.047916267067194,-0.014352050609887,-0.009836370125413,-0.041519112884998,-0.021666001528502,0.009168335236609,-0.020700788125396,0.044689647853374,-0.160064145922661,-0.032779823988676,-0.041909094899893) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.089028313755989,-0.124977156519890,-0.049852762371302,0.021481059491634,-0.010771458037198,-0.055682778358459,0.074708074331284,-0.012595099397004,0.008783280849457,-0.021053619682789,0.061938215047121,0.031038226559758,-0.013550230301917,-0.165465757250786,-0.108235232532024,-0.098564572632313) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.323267340660095,-0.117540195584297,0.019043914973736,-0.024585781618953,0.009352792054415,0.022518975660205,0.023023981601000,0.039221070706844,-0.045726917684078,0.031762562692165,0.053962782025337,-0.250870078802109,-0.153535485267639,0.121679171919823,0.018624324351549,0.008336275815964) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.389991968870163,-0.011887023225427,0.051053036004305,0.049521017819643,0.034523949027061,0.040282879024744,-0.067111462354660,0.017096649855375,-0.020368764176965,0.070248126983643,0.007951173931360,0.047429237514734,0.147966235876083,0.132966920733452,-0.071627020835876,0.082901142537594) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.157536417245865,-0.063464574515820,-0.020787902176380,-0.068593338131905,-0.034924939274788,-0.054985422641039,0.106474667787552,0.022465178743005,-0.020519658923149,0.013826599344611,-0.000690385757480,-0.041712094098330,0.039043366909027,-0.054456193000078,0.023998275399208,0.110359616577625) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.167608335614204,0.031044295057654,0.052574526518583,0.057877052575350,-0.000695446855389,-0.028631305322051,0.025443956255913,-0.056915055960417,-0.006776604335755,-0.050493240356445,0.062585599720478,-0.015028361231089,0.015239359810948,0.084856986999512,0.060048464685678,-0.096149817109108) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.155406028032303,-0.115097038447857,0.008299811743200,-0.088775053620338,0.020215913653374,-0.026646787300706,-0.013185144402087,-0.034453291445971,0.019782111048698,0.019702030345798,0.022129751741886,0.026257347315550,0.104657918214798,0.129008442163467,-0.110576651990414,0.052072521299124) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.062261551618576,-0.047002688050270,-0.025645202025771,0.061555571854115,-0.037899851799011,0.027043618261814,0.051325742155313,0.096779547631741,0.029696112498641,0.036543950438499,-0.126201018691063,0.069198660552502,-0.028620539233088,-0.000540532346349,0.141544774174690,-0.061355751007795) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.103153988718987,-0.013078587129712,-0.067527525126934,0.053864829242229,-0.108514927327633,0.050563711673021,0.065492533147335,0.002728552790359,-0.091104030609131,-0.009329495020211,-0.025497486814857,-0.004547984804958,-0.134351477026939,-0.058883611112833,0.038605358451605,-0.054889805614948) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.057370543479919,-0.054001312702894,-0.052352406084538,-0.134336709976196,-0.038638908416033,0.067484401166439,-0.017371522262692,-0.017688412219286,0.074612393975258,-0.017586709931493,0.011902387253940,-0.028812872245908,0.035020988434553,-0.193748116493225,-0.063794344663620,-0.318133443593979) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.048038464039564,-0.088332429528236,0.012606468982995,0.089313395321369,0.034697253257036,0.048317000269890,-0.094103209674358,0.016286384314299,-0.038883242756128,-0.064037129282951,-0.145353317260742,-0.065411627292633,0.023582126945257,-0.264156252145767,0.082206316292286,0.086234800517559) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.187825694680214,0.059339050203562,-0.005393394734710,-0.126138046383858,0.037715312093496,-0.013706699013710,0.042691815644503,-0.168270826339722,-0.096665672957897,0.054927628487349,-0.021186478435993,0.157155185937881,-0.647437810897827,-0.021835574880242,-0.010488013736904,-0.331397503614426) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.062169544398785,0.159063190221786,-0.123757772147655,0.158603325486183,0.045851729810238,0.068493396043777,0.109686814248562,0.219681680202484,-0.028204753994942,0.059769812971354,0.072386778891087,0.069376952946186,-0.112767487764359,0.192240506410599,-0.108539186418056,0.349235385656357) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.041045967489481,0.019902836531401,0.045040752738714,0.133233383297920,-0.029513591900468,0.009265076369047,-0.299518406391144,-0.100318931043148,0.020847506821156,-0.107003219425678,-0.066219642758369,0.232054531574249,-0.130248174071312,0.022242249920964,0.051975958049297,0.051629062741995) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.056511376053095,-0.000296461483231,-0.006787964608520,-0.020608972758055,0.181726753711700,-0.106249816715717,0.052556052803993,-0.049313731491566,0.149449482560158,0.019663494080305,-0.037966813892126,0.068736620247364,-0.119013383984566,0.051599904894829,0.033046822994947,-0.001413661055267) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.110822513699532,0.087234467267990,-0.060554325580597,0.086855769157410,0.049729540944099,-0.055944349616766,0.064298003911972,0.051121916621923,0.175646185874939,0.005679733119905,-0.030525077134371,0.006378845777363,-0.024620298296213,0.102880142629147,-0.013996026478708,-0.015277151949704) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.062159083783627,-0.123838722705841,-0.026025449857116,-0.076562136411667,0.074501909315586,0.010549254715443,-0.239786982536316,0.053287949413061,0.061133570969105,0.037130191922188,0.180474758148193,0.001959316665307,0.002221967559308,-0.178108528256416,-0.118212878704071,0.134569123387337) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.023941729217768,0.003327627666295,-0.015941694378853,0.049208268523216,-0.051579307764769,-0.034217841923237,-0.010460858233273,0.129829704761505,-0.003731587901711,-0.016602322459221,-0.017550317570567,0.065707907080650,0.004535650368780,0.044998064637184,-0.042322397232056,0.142041862010956) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.137814968824387,0.103929959237576,-0.055716104805470,-0.027345985174179,0.011596893891692,-0.008478826843202,-0.095069378614426,-0.089878574013710,-0.024047138169408,-0.003858515527099,-0.028838189318776,0.009151606820524,0.017732936888933,0.016965078189969,-0.038467857986689,-0.125391989946365) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.013459031470120,-0.070434592664242,-0.019092503935099,0.092701211571693,0.017566906288266,0.042945016175508,0.089001335203648,0.002888357732445,-0.006724209524691,0.086411982774734,-0.025925936177373,0.048169802874327,0.027601581066847,-0.004670931026340,0.054009664803743,0.127165973186493) * FEATURE4_texOff(vec2(-1,1));
res += mat4(0.079003639519215,0.020462445914745,-0.040242534130812,0.143428578972816,-0.113829337060452,0.104532107710838,0.036274597048759,-0.319716602563858,0.022418202832341,0.082697100937366,-0.047627683728933,-0.007145567797124,0.046014137566090,0.000278712017462,0.012356031686068,0.045718885958195) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.185222715139389,0.055851515382528,0.003016428556293,0.081055551767349,-0.067847169935703,-0.001555034308694,-0.079682640731335,0.142742931842804,-0.014682911336422,0.038613799959421,0.015832478180528,-0.013456850312650,-0.089098483324051,0.078936032950878,-0.005933872889727,0.074663020670414) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.063525006175041,-0.107075132429600,-0.064356602728367,-0.057596232742071,-0.021637476980686,-0.095605999231339,0.064256653189659,-0.066934973001480,-0.036606125533581,0.102921128273010,-0.136310294270515,-0.023067856207490,-0.019660856574774,0.019405396655202,-0.071583867073059,-0.048333771526814) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.033139333128929,0.009602646343410,-0.093055404722691,-0.085139736533165,0.007179302629083,-0.084827080368996,0.030416179448366,-0.059604611247778,0.020776635035872,-0.040783252567053,-0.003328677266836,0.014056087471545,-0.065130896866322,-0.032455064356327,-0.062524236738682,-0.056519027799368) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.028117887675762,-0.074876315891743,0.036426484584808,0.021272083744407,-0.075066193938255,0.050988767296076,-0.120573550462723,0.065884515643120,-0.031596180051565,0.048061303794384,0.024913968518376,0.034138910472393,-0.052995074540377,-0.159536391496658,0.027743479236960,0.033328637480736) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.070044405758381,-0.066298693418503,-0.035929273813963,0.004457968287170,0.014634205959737,0.017289029434323,0.096206568181515,0.087185598909855,0.006972459610552,0.038116440176964,-0.131249561905861,-0.017531812191010,-0.005068400409073,0.131461501121521,0.000960857083555,0.020929146558046) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.043314360082150,-0.005478530656546,-0.001854527508840,-0.055720973759890,-0.035296626389027,0.034182555973530,0.011910116299987,0.025695778429508,-0.066706806421280,0.125845819711685,0.021574322134256,-0.045191571116447,0.077082626521587,-0.037485402077436,0.042734753340483,0.091636165976524) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.021818283945322,-0.043528702110052,-0.009198982268572,0.111829921603203,-0.003809618065134,0.104140825569630,0.092245526611805,0.060457665473223,-0.053350947797298,0.057327244430780,-0.016135357320309,-0.029939904808998,-0.101152606308460,0.084831342101097,0.140024840831757,0.055507268756628) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.029990581795573,-0.013664585538208,-0.073052905499935,-0.108898617327213,-0.019290627911687,-0.013338962569833,-0.082797527313232,0.031140739098191,0.033233374357224,0.033364456146955,0.025027299299836,0.120394416153431,-0.016405928879976,0.026298603042960,-0.176020085811615,0.016376066952944) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.133138030767441,-0.096791170537472,-0.026739329099655,0.293102353811264,0.043710611760616,0.030781676992774,0.021220430731773,-0.018614560365677,0.091749705374241,-0.046365398913622,-0.071391686797142,0.119852460920811,0.238213092088699,-0.019099917262793,-0.140066638588905,0.020076807588339) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.068150624632835,-0.116482034325600,0.012462513521314,-0.085304215550423,-0.041045252233744,-0.127831697463989,0.165398374199867,0.045904483646154,-0.039861369878054,-0.082172483205795,0.013608225621283,-0.023632377386093,0.021456494927406,-0.204243510961533,0.234985873103142,-0.171354070305824) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.008017978630960,0.004197617061436,-0.063449271023273,-0.018901068717241,-0.021358527243137,0.048902157694101,-0.104968003928661,-0.060919329524040,0.081315547227859,-0.086881086230278,0.037217833101749,-0.059076335281134,0.005097569432110,0.103875115513802,-0.197286725044250,0.028241192921996) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.166341498494148,0.100103102624416,-0.035647016018629,-0.217441171407700,-0.031222954392433,0.000739222625270,0.004441983997822,-0.063450753688812,-0.019559700042009,0.018035154789686,-0.013679006136954,-0.123775638639927,-0.083443298935890,-0.046046245843172,0.108432002365589,-0.069127075374126) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.184252455830574,-0.170001521706581,-0.020005591213703,-0.071495674550533,-0.071924015879631,0.027839962393045,0.131766587495804,0.051822945475578,0.061070807278156,-0.031685017049313,-0.058432955294847,0.103175885975361,0.046276867389679,0.078597024083138,0.066972501575947,0.017319403588772) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.093712545931339,0.102125555276871,0.143367365002632,-0.041131410747766,-0.008862511254847,-0.047686241567135,-0.070553585886955,-0.025820687413216,-0.003619156777859,0.025541638955474,0.197035685181618,-0.011740518733859,-0.012044346891344,-0.130857259035110,0.166913747787476,-0.009379294700921) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.058284666389227,-0.005750159732997,0.050447400659323,-0.086461745202541,0.008874733000994,-0.029507439583540,-0.001638847636059,-0.093577116727829,-0.098009310662746,0.012378947809339,0.068481169641018,-0.104520455002785,0.013533822260797,-0.007353006862104,0.018360143527389,-0.090502128005028) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(-0.059956148266792,0.117780908942223,-0.016626311466098,0.222861453890800,-0.050988037139177,0.001933291438036,-0.051151648163795,0.077357701957226,-0.023906867951155,0.149050697684288,0.053608380258083,0.108267925679684,-0.030171658843756,-0.018404621630907,0.010090092197061,0.125883013010025) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.058576073497534,0.111232988536358,-0.067938275635242,-0.092286139726639,-0.081568941473961,-0.108245469629765,-0.020481530576944,0.002292885212228,0.030859291553497,0.129049107432365,-0.130438968539238,0.013242629356682,-0.073668405413628,-0.005783031228930,-0.046775352209806,-0.063880935311317) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.143557801842690,-0.115968383848667,-0.005209103692323,0.108722157776356,0.146325051784515,-0.029629470780492,-0.017821209505200,0.139735177159309,0.258156925439835,-0.129818320274353,-0.005450201686472,0.104104198515415,0.047081712633371,0.046504516154528,-0.028149044141173,0.045902743935585) * FEATURE6_texOff(vec2(0,-1));
res += mat4(0.002886078786105,-0.017085220664740,0.025283778086305,-0.080989897251129,0.044556681066751,0.020399354398251,-0.012964687310159,-0.181736558675766,-0.058460682630539,-0.135329753160477,0.063839592039585,-0.001116539933719,-0.024971829727292,-0.024241624400020,-0.006249858997762,0.020971447229385) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.060671318322420,0.043312024325132,-0.108681693673134,0.022862277925014,0.016251796856523,0.094411082565784,-0.020240873098373,0.059752855449915,0.007766816299409,0.053622409701347,-0.077818609774113,-0.090687274932861,-0.031221808865666,0.026327254250646,-0.074684418737888,-0.018425844609737) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.048793289810419,0.020183287560940,-0.035899151116610,-0.061184920370579,0.098835125565529,0.011699515394866,-0.040132265537977,0.105009332299232,0.069689407944679,-0.008614959195256,-0.073769591748714,0.057674735784531,-0.045138835906982,0.028330020606518,0.019966429099441,-0.036566991358995) * FEATURE6_texOff(vec2(1,-1));
res += mat4(-0.051699437201023,0.028942011296749,0.018419614061713,0.018969038501382,0.054518509656191,-0.027160573750734,0.028859103098512,-0.010600141249597,-0.132845923304558,-0.095758162438869,0.093216143548489,-0.179963007569313,-0.017319096252322,-0.004387085791677,-0.011350413784385,0.016196701675653) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.084349714219570,-0.015386470593512,-0.053142614662647,-0.080679468810558,-0.009761470369995,0.057866759598255,-0.022139135748148,0.070458196103573,-0.009249343536794,0.079882435500622,-0.000143736790051,0.077505268156528,0.007472574710846,-0.023696793243289,0.017916370183229,0.022264694795012) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.000560010666959,0.146547555923462,-0.008071058429778,0.939647197723389) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 1_3

vec4 hook()
{
vec4 res = vec4(-0.060404054820538,-1.087004184722900,-0.086544379591942,-0.186305806040764);
res += mat4(0.155004680156708,0.081098280847073,0.023910025134683,-0.001786781009287,0.086871899664402,0.046639025211334,0.126448854804039,-0.010276404209435,0.001722479704767,0.015280772931874,0.050983387976885,0.023653708398342,0.147739529609680,-0.029480723664165,0.074964441359043,0.028025507926941) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.114498607814312,-0.029683750122786,0.104901596903801,0.012609247118235,-0.072010703384876,-0.025428853929043,0.063356980681419,0.006192716769874,0.034109286963940,0.000031966144888,-0.147424325346947,-0.007212062831968,-0.054159276187420,-0.086329251527786,0.092999801039696,0.002351518487558) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.030793387442827,-0.099125869572163,-0.037783041596413,0.010505712591112,-0.028000999242067,0.011924202553928,-0.026948979124427,-0.011320813558996,0.085785582661629,0.010279754176736,-0.168564498424530,-0.011818673461676,-0.010744396597147,-0.074983105063438,-0.287686198949814,-0.045791912823915) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.066429786384106,0.108576685190201,-0.072272941470146,0.040239512920380,0.020970251411200,0.029526200145483,-0.036209814250469,0.086507745087147,-0.021452186629176,0.102661393582821,-0.196596205234528,0.155640780925751,-0.185369163751602,0.016877543181181,-0.021502621471882,0.216482684016228) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.098033659160137,0.075803950428963,-0.081034481525421,0.009072230197489,-0.015634991228580,0.058794580399990,-0.071720398962498,-0.015936488285661,0.070622175931931,-0.109974540770054,-0.034415919333696,-0.011698268353939,-0.041415356099606,0.210581853985786,-0.092505089938641,-0.044964324682951) * FEATURE1_texOff(vec2(0,0));
res += mat4(0.037598714232445,-0.070553056895733,0.017183663323522,0.024819962680340,0.003545371349901,-0.073709815740585,-0.044306941330433,-0.010393076576293,0.029950866475701,-0.129530832171440,0.104717053472996,0.009952663443983,0.106973879039288,-0.095873184502125,0.160543709993362,-0.049533735960722) * FEATURE1_texOff(vec2(0,1));
res += mat4(0.022037049755454,-0.031472887843847,-0.017820509150624,-0.013537637889385,0.069328106939793,0.028985481709242,-0.018934363499284,0.014040735550225,0.014468587934971,-0.003561622463167,-0.035363987088203,-0.024405043572187,-0.220126226544380,0.004371460527182,-0.162002757191658,-0.040172599256039) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.051524642854929,0.136100143194199,0.060199510306120,0.044720847159624,-0.001914995140396,-0.090556189417839,0.041886791586876,0.023536909371614,0.051554661244154,0.048391956835985,0.051670923829079,-0.054970640689135,0.146486699581146,0.039838399738073,0.149722948670387,0.044013723731041) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.041593894362450,-0.012765781953931,-0.044277139008045,0.008651527576149,0.006113796960562,-0.017588064074516,-0.018405282869935,0.007200861815363,-0.019657256081700,0.052313670516014,0.090615056455135,-0.033926185220480,0.031009482219815,0.013326107524335,0.076629169285297,-0.091258369386196) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.035294897854328,0.032802082598209,0.029542895033956,0.106647349894047,-0.090236395597458,-0.013629221357405,0.048064675182104,-0.039254125207663,0.040650244802237,-0.054551590234041,0.068668752908707,-0.004625682719052,0.033527057617903,-0.039578665047884,0.141445636749268,0.145966127514839) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.062913499772549,-0.033112570643425,0.095107465982437,0.016586860641837,0.002408749423921,-0.054729323834181,0.088856898248196,-0.025896769016981,-0.107168033719063,0.038073319941759,-0.020413737744093,0.054411526769400,-0.028355309739709,0.039035767316818,-0.002982473233715,0.037307925522327) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.100027799606323,-0.016858268529177,-0.031204892322421,0.013741352595389,-0.014757799915969,0.000502469018102,0.028402393683791,-0.010027980431914,-0.010760562494397,0.037929583340883,0.046541448682547,0.006882496178150,0.082625739276409,-0.075163640081882,-0.075453087687492,-0.002272962825373) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.061626486480236,-0.129082337021828,-0.027927905321121,0.112310811877251,-0.027603494003415,0.009567189030349,-0.016549523919821,0.056251790374517,-0.006806069985032,-0.038896936923265,0.075222790241241,-0.025344323366880,-0.106417737901211,0.143464326858521,-0.016839027404785,0.165010824799538) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.070870630443096,0.002078577177599,-0.025418210774660,0.017018062993884,-0.007597167044878,0.026981050148606,0.002388071501628,0.020871177315712,-0.025130730122328,0.027162676677108,0.010743551887572,-0.000025299597837,0.016734464094043,0.217137232422829,-0.189516901969910,0.007407294120640) * FEATURE2_texOff(vec2(0,0));
res += mat4(0.023886259645224,0.022620862349868,-0.023959636688232,0.024034991860390,0.017018863931298,-0.029161471873522,-0.033943302929401,-0.024714993312955,-0.026176504790783,0.006383843254298,0.017600467428565,0.045733019709587,0.065652549266815,-0.134604975581169,0.036509085446596,-0.002440358046442) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.026597669348121,-0.021349975839257,0.034962505102158,-0.084455616772175,0.021227184683084,0.009306986816227,-0.041564095765352,-0.011666903272271,0.009199236519635,-0.012732882052660,0.061601940542459,-0.018379136919975,-0.187198370695114,-0.088535130023956,-0.021504815667868,-0.012747402302921) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.055993307381868,0.074941419064999,0.029843103140593,-0.003332965774462,-0.004020978696644,-0.019450046122074,0.026565056294203,-0.005018988158554,-0.046379823237658,-0.017082056030631,-0.020780535414815,0.027395699173212,0.191275894641876,-0.032901015132666,-0.030210632830858,-0.009485942311585) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.024128442630172,0.026825141161680,0.011812914162874,-0.007255320902914,-0.043443072587252,-0.019856141880155,-0.012730674818158,-0.049417555332184,-0.048108156770468,0.016110349446535,-0.052846115082502,0.037765011191368,0.023534169420600,-0.107689537107944,0.100754410028458,-0.024585673585534) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.162633389234543,0.080381557345390,0.030993161723018,0.006392074283212,0.045038178563118,-0.071856901049614,0.254165381193161,-0.038963563740253,0.039371293038130,0.116220645606518,0.027852075174451,0.067621655762196,0.095844723284245,0.053703814744949,0.067951165139675,0.032810986042023) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.134871780872345,0.137903481721878,0.063134282827377,0.027268532663584,-0.161078467965126,0.073879942297935,-0.097478210926056,-0.025095541030169,-0.097394511103630,0.054424021393061,-0.007208255585283,-0.003478144528344,-0.145749434828758,0.200685665011406,0.177405223250389,0.028811663389206) * FEATURE3_texOff(vec2(-1,0));
res += mat4(0.065152578055859,-0.100730150938034,-0.032443922013044,0.022764243185520,0.069189906120300,0.035994768142700,-0.112791538238525,-0.055396620184183,0.080846600234509,-0.031744513660669,-0.046813793480396,0.032717254012823,0.008752990514040,0.072358369827271,-0.085137449204922,-0.016265170648694) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.105295933783054,0.096443466842175,0.032536745071411,-0.047228500247002,-0.077090919017792,0.100088238716125,-0.001396848587319,0.019205678254366,0.042115092277527,0.135642901062965,-0.056693926453590,0.015976186841726,-0.010658937506378,0.221193745732307,0.102387659251690,0.069118551909924) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.052426382899284,0.164324879646301,0.001821131561883,0.006734589114785,0.130887717008591,0.042767148464918,-0.117933638393879,-0.072749085724354,0.033327985554934,0.140593230724335,-0.021755954250693,-0.019878955557942,-0.065148010849953,0.292913645505905,-0.241196706891060,0.052687428891659) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.078449785709381,0.190153867006302,-0.059570662677288,0.008739202283323,0.027411310002208,0.031506374478340,0.175419777631760,0.057423394173384,-0.010333675891161,0.034386154264212,-0.007650669664145,0.023357331752777,0.099881246685982,0.108443446457386,-0.055246513336897,0.015006653033197) * FEATURE3_texOff(vec2(0,1));
res += mat4(0.010659110732377,0.081294387578964,-0.050104342401028,0.016446288675070,-0.089336141943932,-0.020209569483995,-0.086100861430168,-0.030362863093615,-0.058877136558294,0.091237910091877,-0.109679296612740,0.003070588223636,-0.175440132617950,0.001885217265226,-0.132471978664398,-0.048912566155195) * FEATURE3_texOff(vec2(1,-1));
res += mat4(0.034161832183599,0.110852599143982,0.001647079829127,0.044522728770971,0.146757856011391,-0.173117920756340,-0.011619875207543,-0.030254237353802,0.048030212521553,-0.081628441810608,0.063426539301872,-0.043620582669973,0.221844583749771,0.042515296489000,-0.041510947048664,0.024209382012486) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.042987275868654,0.046172033995390,0.052091930061579,0.034932777285576,-0.040056664496660,-0.031483903527260,0.083409599959850,0.056142639368773,-0.020890053361654,-0.030910570174456,0.083094403147697,-0.039919845759869,0.000228123943089,-0.107462003827095,0.112566031515598,-0.016636393964291) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.136119917035103,-0.059054024517536,0.087164908647537,0.193520128726959,0.091788142919540,0.025861578062177,-0.003732214448974,-0.073795095086098,0.007664949167520,-0.066626906394958,0.054345518350601,0.005306869279593,0.019330438226461,0.009094960056245,0.012811171822250,-0.053345717489719) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(0.016855251044035,0.075276032090187,-0.008382334373891,0.006890062708408,0.008777061477304,0.006907240021974,-0.096298590302467,0.015493415296078,-0.010550864040852,-0.018451342359185,-0.047050666064024,0.051216397434473,-0.036269497126341,-0.015315477736294,-0.058784723281860,-0.039412029087543) * FEATURE4_texOff(vec2(-1,0));
res += mat4(0.071535743772984,-0.107622884213924,-0.123881153762341,-0.069789730012417,-0.052755951881409,-0.019207252189517,-0.018673125654459,-0.037141129374504,0.025044709444046,0.031204199418426,-0.047005049884319,0.016456782817841,0.000651515205391,-0.027712171897292,-0.028785780072212,-0.002619598759338) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.194848045706749,-0.003711764933541,-0.204372778534889,0.168668061494827,-0.105748191475868,0.053356833755970,0.008438059128821,-0.113574564456940,-0.084303721785545,-0.007191153243184,0.017206987366080,0.000631907838397,-0.054706864058971,0.010032060556114,-0.047047484666109,-0.061457455158234) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.162675082683563,-0.025325531139970,-0.086531884968281,0.020007845014334,0.064254298806190,0.019951075315475,-0.049014914780855,-0.014535802416503,0.057228121906519,-0.032248985022306,-0.018137056380510,-0.009873342700303,0.100756838917732,-0.054556243121624,-0.001602355972864,0.018242832273245) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.003231207607314,0.015815977007151,0.054533101618290,-0.011174175888300,-0.042859334498644,0.080431811511517,0.139105647802353,0.000590604671743,0.014410652220249,-0.011402308940887,0.007066269405186,0.058770336210728,-0.000104837483377,0.003640763927251,0.127125769853592,0.038504391908646) * FEATURE4_texOff(vec2(0,1));
res += mat4(-0.229252293705940,-0.019980812445283,-0.151498824357986,-0.011480862274766,-0.019143996760249,-0.161749690771103,-0.124190486967564,-0.074629850685596,-0.037220649421215,0.055412869900465,-0.089402616024017,0.010097413323820,0.085623092949390,-0.001886048121378,-0.004470989573747,-0.000045362146921) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.145027860999107,-0.058303844183683,0.001576603739522,-0.001879946794361,0.069672822952271,-0.034983940422535,0.075305357575417,0.032782584428787,0.046738754957914,0.029798874631524,-0.050551258027554,0.031044691801071,0.062387511134148,-0.074471138417721,0.026183456182480,0.021487943828106) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.068108476698399,-0.042885847389698,0.074668198823929,-0.026076126843691,-0.019265174865723,0.006397943012416,0.010769807733595,-0.014491851441562,0.015413801185787,0.010285474359989,0.031456507742405,0.034327208995819,0.005389773286879,0.019653838127851,-0.057746954262257,0.065744034945965) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.005761416628957,0.085982769727707,-0.015383791178465,-0.051982667297125,0.048127874732018,0.035777393728495,0.042404130101204,0.055769804865122,-0.057468455284834,0.012693741358817,-0.064832277595997,-0.018189627677202,0.050791271030903,-0.012878079898655,-0.057447511702776,0.042289897799492) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.034507252275944,-0.023134499788284,-0.105323962867260,-0.049824375659227,-0.030927704647183,0.043334092944860,-0.077077671885490,-0.040681656450033,0.069293253123760,0.066714093089104,-0.111328981816769,0.033532075583935,0.112473897635937,0.014051992446184,0.043294638395309,-0.017394214868546) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.011633092537522,0.056800749152899,0.058422613888979,0.017017289996147,-0.067757219076157,-0.025412000715733,0.059324588626623,-0.027289772406220,0.006184061057866,0.000743147975300,-0.011915325187147,0.022756295278668,-0.073775313794613,0.029381556436419,0.195803582668304,0.016093766316772) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.004457238595933,-0.013955309987068,-0.169993996620178,-0.130170032382011,-0.062026936560869,0.022898107767105,-0.019874172285199,-0.042330108582973,0.081445060670376,0.130662024021149,-0.195976242423058,-0.016451181843877,0.066174805164337,0.071299262344837,-0.105706311762333,-0.032952453941107) * FEATURE5_texOff(vec2(0,-1));
res += mat4(0.032255332916975,-0.210753142833710,0.012333163060248,-0.011269291862845,0.044717714190483,-0.085851028561592,0.004583561327308,-0.048127807676792,0.118219867348671,-0.067707061767578,0.133542686700821,0.073797300457954,0.030735271051526,-0.331662952899933,0.215420782566071,-0.066135175526142) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.091564007103443,0.024615559726954,0.140169247984886,0.023829963058233,-0.021650921553373,0.040434096008539,0.067270152270794,0.065303847193718,-0.075333341956139,0.052259869873524,0.008082769811153,0.051475077867508,-0.065838575363159,-0.019565820693970,-0.139540806412697,0.053335040807724) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.108558014035225,0.074148543179035,0.092831082642078,0.007068665698171,-0.094308562576771,0.015521744266152,0.061770983040333,-0.012824653647840,0.159480631351471,-0.050041779875755,0.152936398983002,0.005932974163443,0.058194007724524,0.096818573772907,0.111597962677479,0.026754872873425) * FEATURE5_texOff(vec2(1,-1));
res += mat4(-0.098575703799725,0.065691187977791,0.108271598815918,-0.004547549877316,0.033031221479177,-0.010891191661358,-0.011643493548036,-0.015511919744313,-0.083007611334324,0.002920844126493,0.065171115100384,-0.005477692000568,-0.211351081728935,0.271557003259659,-0.098413772881031,-0.018040839582682) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.021858923137188,0.118524432182312,-0.087372131645679,0.044767614454031,0.035302799195051,0.047633841633797,0.214261353015900,0.070195056498051,0.000042736053729,-0.039424832910299,-0.115380890667439,-0.058777492493391,0.027284231036901,-0.098652213811874,-0.021724255755544,-0.039076920598745) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.140315517783165,-0.016724843531847,-0.007760196924210,-0.023943783715367,-0.109952665865421,0.045158699154854,0.025340549647808,0.012244370765984,-0.099648073315620,0.069472201168537,0.051961902529001,-0.076254881918430,-0.138457730412483,-0.013736605644226,-0.056701794266701,-0.057861067354679) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.162249609827995,-0.098968453705311,-0.002471056766808,-0.057068668305874,0.051781941205263,-0.125018030405045,-0.006621047854424,-0.014986566267908,-0.012930969707668,0.042494665831327,-0.317789375782013,-0.025862976908684,0.018646642565727,-0.066982276737690,-0.026743991300464,-0.078032866120338) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.040646765381098,0.001942278235219,0.047135774046183,-0.036052696406841,-0.010315150953829,-0.086754441261292,0.012165186926723,0.033757656812668,0.030679797753692,0.003399039851502,-0.044208932667971,0.027242651209235,-0.026536483317614,0.015406050719321,0.083981849253178,0.021512536332011) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.082612738013268,-0.046973582357168,-0.016453763470054,0.001570348162204,-0.045689973980188,0.026547387242317,0.049864221364260,0.042579110711813,-0.061403080821037,0.022844620049000,-0.239152580499649,-0.148894965648651,-0.064141795039177,-0.010048738680780,0.007412522565573,-0.067679077386856) * FEATURE6_texOff(vec2(0,-1));
res += mat4(0.107971332967281,-0.209966465830803,-0.016765167936683,-0.002604114124551,0.039662543684244,-0.132739230990410,0.075702413916588,0.020637158304453,0.146679595112801,-0.281716108322144,0.165252074599266,-0.054476242512465,0.018635088577867,-0.094040550291538,0.044618945568800,-0.014773606322706) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.049236878752708,-0.050406005233526,-0.000911606824957,0.005061368457973,-0.030109040439129,0.014969706535339,0.022553630173206,0.019070211797953,-0.114910326898098,0.053150191903114,0.141029074788094,0.099205456674099,0.029089897871017,-0.021598245948553,0.023233350366354,0.033631913363934) * FEATURE6_texOff(vec2(0,1));
res += mat4(-0.025565175339580,-0.015637982636690,-0.091754235327244,0.001567948726006,-0.006231206934899,-0.050883710384369,-0.047805286943913,0.021608913317323,0.125873491168022,-0.070505537092686,0.064344763755798,0.012782689183950,0.021520400419831,0.056710932403803,-0.001500564627349,-0.020566973835230) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.054959278553724,-0.018148824572563,-0.040982041507959,-0.028821317479014,-0.012014356441796,-0.057045847177505,-0.027647932991385,-0.025312170386314,-0.063148617744446,-0.081231288611889,0.111331619322300,-0.009624922648072,0.038840122520924,0.044920694082975,-0.006464175414294,-0.037722934037447) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.064788140356541,-0.045093249529600,0.065637677907944,0.002718431409448,0.005159283056855,0.007667445577681,-0.018568336963654,-0.029316652566195,-0.072579249739647,0.126407608389854,-0.017795769497752,0.039124857634306,-0.022977525368333,0.012244720943272,0.069535158574581,0.017003932967782) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.023974042385817,0.016462409868836,-0.087136797606945,-0.018309883773327) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 1_4

vec4 hook()
{
vec4 res = vec4(-0.151618450880051,-0.134523391723633,-0.006463167257607,-0.190192282199860);
res += mat4(0.035289827734232,-0.030794013291597,0.129747897386551,-0.023066060617566,0.076536186039448,-0.156014844775200,-0.045075833797455,0.018069338053465,0.064693652093410,0.192147687077522,-0.046369202435017,-0.017462261021137,-0.008077297359705,-0.280581653118134,-0.026949156075716,-0.011949786916375) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(0.012415375560522,-0.013624539598823,0.122957468032837,-0.032122861593962,-0.036187741905451,0.012230169959366,0.003249069908634,-0.026401974260807,0.035704169422388,0.097236886620522,-0.154262572526932,0.045820366591215,0.009618505835533,0.126692965626717,0.161473184823990,-0.036308545619249) * FEATURE1_texOff(vec2(-1,0));
res += mat4(0.000533141253982,0.132977291941643,0.045660629868507,0.093599505722523,0.050430517643690,0.056087620556355,-0.017976732924581,0.069256149232388,-0.065946988761425,-0.066042497754097,-0.124910704791546,-0.028622616082430,0.074102893471718,0.205091089010239,-0.019084397703409,0.061611857265234) * FEATURE1_texOff(vec2(-1,1));
res += mat4(0.023213434964418,0.013661114498973,0.047660823911428,-0.037344671785831,-0.023685121908784,0.165156245231628,0.039421774446964,-0.083933070302010,-0.091885566711426,-0.074493907392025,0.009088343009353,-0.009608743712306,0.014741024933755,0.047978170216084,0.013327604159713,-0.029687831178308) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.012426367029548,-0.110436812043190,-0.032754760235548,-0.029331041499972,0.013662124052644,-0.069287292659283,-0.038653615862131,-0.012522187083960,-0.193998172879219,0.089329332113266,0.023270726203918,0.058042768388987,0.071328230202198,-0.208212271332741,-0.075230807065964,-0.042740065604448) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.121908724308014,-0.035875428467989,-0.002622411819175,-0.012805899605155,-0.132128134369850,0.226764649152756,0.040187634527683,-0.003620045026764,0.117672324180603,0.072788953781128,0.079672157764435,-0.052402645349503,-0.143638074398041,-0.001470667310059,0.007650236599147,0.054163660854101) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.074878476560116,0.006394710391760,0.115731514990330,-0.058360420167446,-0.023466814309359,-0.051142416894436,-0.075441457331181,-0.075580887496471,-0.137527540326118,0.003360007656738,-0.036717046052217,0.089185260236263,0.007343587465584,0.227483108639717,-0.038057066500187,-0.087710656225681) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.032313372939825,-0.079175204038620,-0.010940011590719,-0.070699535310268,0.018362062051892,0.101698532700539,0.041428010910749,0.083775617182255,0.068264096975327,-0.090665079653263,0.011677932925522,0.103957541286945,0.002094083698466,0.132263615727425,-0.018820675089955,0.012951699085534) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.073888197541237,-0.251598775386810,-0.026550069451332,-0.124885983765125,0.103232599794865,-0.089296355843544,-0.090031519532204,0.023840436711907,-0.012164385057986,-0.102031722664833,0.060838021337986,0.019581703469157,0.103261843323708,-0.248243942856789,-0.006167560350150,0.045949772000313) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.003032369539142,-0.042893629521132,0.033954665064812,0.013103599660099,0.044484034180641,0.037178102880716,-0.007058028131723,0.085535503923893,0.039220936596394,-0.010521625168622,0.040665213018656,-0.022282429039478,0.053443491458893,0.049762830138206,0.137170761823654,-0.029928155243397) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(0.007675883360207,0.008177526295185,0.059514749795198,0.031412176787853,-0.008136678487062,-0.021363954991102,0.001164565444924,0.082431897521019,-0.040022332221270,-0.009144020266831,-0.025553748011589,-0.024602388963103,0.094587810337543,0.040758397430182,0.113429643213749,0.090924523770809) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.073287256062031,-0.081525482237339,0.013555303215981,-0.038311135023832,0.017816161736846,0.080277673900127,0.002176198875532,0.038571506738663,-0.017450429499149,-0.038464654237032,0.004113671835512,0.026467137038708,-0.020139008760452,-0.019941048696637,0.042708385735750,0.024232743307948) * FEATURE2_texOff(vec2(-1,1));
res += mat4(0.035104390233755,-0.001951791113243,0.067216120660305,0.017733102664351,-0.044721100479364,0.135399043560028,0.027202000841498,0.041627112776041,-0.006455834023654,0.049263875931501,0.078538231551647,-0.038928162306547,0.069038853049278,-0.047712258994579,-0.008702250197530,-0.062993206083775) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.001093463040888,-0.006494457833469,0.063169933855534,-0.020075572654605,-0.028012450784445,-0.026411434635520,-0.032826423645020,-0.004307522438467,0.003533690935001,-0.044093329459429,-0.037912581115961,0.031372494995594,-0.111271820962429,-0.117616303265095,-0.060751043260098,0.043674651533365) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.055029276758432,0.059897664934397,0.002753693610430,-0.042561624199152,-0.061666306108236,0.084789320826530,-0.045997884124517,-0.000424199155532,-0.046154160052538,0.046010348945856,0.028775967657566,-0.061845805495977,-0.107790999114513,0.022226242348552,0.025415884330869,-0.162052109837532) * FEATURE2_texOff(vec2(0,1));
res += mat4(0.018346939235926,-0.021179251372814,-0.028080338612199,-0.012176860123873,-0.084342949092388,0.030815878883004,-0.033757995814085,-0.004492033272982,0.067572824656963,-0.128391131758690,0.033718947321177,0.006740011274815,-0.102555766701698,0.179002836346626,-0.011054891161621,0.045635312795639) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.029867904260755,0.009681409224868,-0.040320940315723,-0.085489727556705,-0.040284026414156,0.005310592707247,-0.024823432788253,-0.088291086256504,0.000733941851649,0.046017896384001,0.007761316839606,0.075292527675629,0.036536093801260,0.134043484926224,-0.054502494633198,0.076789118349552) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.047521062195301,-0.061737522482872,0.002255697268993,-0.087826795876026,-0.003400113433599,-0.120403498411179,-0.042861122637987,-0.006690820213407,0.066813722252846,-0.052696146070957,-0.051315587013960,-0.128046095371246,0.144425287842751,0.076614297926426,-0.086967393755913,-0.184330523014069) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.031721323728561,0.042449444532394,0.095864050090313,-0.056098442524672,0.064113833010197,-0.006072813179344,-0.034128818660975,-0.047966331243515,0.033778272569180,-0.028980711475015,-0.015651674941182,0.007731574121863,0.057375550270081,-0.031263928860426,0.098083816468716,-0.013927249237895) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.009971323423088,0.001115766586736,0.088663749396801,-0.026581237092614,-0.001178920501843,-0.017294654622674,-0.093079619109631,-0.025220759212971,-0.022312663495541,-0.012776564806700,0.091466695070267,0.052077535539865,0.070302873849869,-0.128457114100456,0.169498816132545,-0.010904153808951) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.037650693207979,0.115578591823578,0.062210645526648,0.048145286738873,-0.078218199312687,-0.093367978930473,-0.038643479347229,0.067056342959404,-0.012654431164265,0.075446449220181,0.016865342855453,-0.007329180836678,-0.011907198466361,0.125176057219505,0.035878144204617,0.096971429884434) * FEATURE3_texOff(vec2(-1,1));
res += mat4(0.020610067993402,0.107122704386711,0.043347708880901,-0.048071984201670,-0.000862711400259,-0.043422780930996,0.055030532181263,-0.079718835651875,0.030646748840809,-0.077393397688866,-0.206186980009079,0.055479027330875,0.087155647575855,0.038035143166780,0.025969605892897,-0.046035435050726) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.024308636784554,0.041865274310112,-0.121233724057674,0.009239676408470,-0.108946710824966,0.083265848457813,-0.067012727260590,0.141898706555367,-0.141984060406685,0.033587042242289,-0.101306140422821,0.050386555492878,0.085927471518517,-0.167940765619278,-0.275738596916199,0.020201319828629) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.025874424725771,-0.047479957342148,-0.035707417875528,-0.042116176337004,0.012351875193417,-0.010030706413090,0.046197023242712,-0.079532645642757,-0.013542388565838,-0.129500821232796,-0.040745686739683,-0.153828322887421,-0.276224434375763,-0.249901264905930,-0.149769857525826,-0.053830377757549) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.045162606984377,0.043434906750917,0.056081954389811,0.055891338735819,-0.015247953124344,-0.053322441875935,-0.005062445998192,0.046640157699585,-0.097905188798904,-0.001412051846273,-0.131380751729012,0.119551993906498,-0.083389304578304,-0.017449986189604,-0.026090867817402,-0.073648706078529) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.013435340486467,0.168895110487938,-0.051744174212217,0.096514806151390,0.030698999762535,0.209932580590248,0.017030427232385,0.247608467936516,0.051066488027573,0.088802486658096,0.003068175166845,-0.020583553239703,-0.132556825876236,0.117173127830029,-0.140655115246773,0.087662950158119) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.117879234254360,0.022144749760628,-0.030518336221576,-0.009725226089358,0.096716374158859,0.147612079977989,-0.003223505103961,-0.124586828052998,0.145725250244141,0.081311739981174,0.048441756516695,-0.047846630215645,0.163911864161491,-0.104812614619732,-0.033970274031162,-0.175677254796028) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.030983097851276,0.038706906139851,-0.157878354191780,0.015540171414614,-0.006522419862449,0.076995924115181,0.027268605306745,0.022640563547611,-0.034132178872824,-0.032064095139503,0.030820332467556,-0.004738837014884,0.039304167032242,-0.059080656617880,0.026078227907419,0.041922003030777) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.032737214118242,-0.048027545213699,-0.054489839822054,0.036115307360888,-0.047370225191116,-0.056081004440784,-0.005040142685175,-0.033346846699715,-0.016451496630907,0.110429130494595,0.054881226271391,0.019382532685995,-0.039595071226358,-0.139669805765152,0.084635153412819,-0.049849338829517) * FEATURE4_texOff(vec2(-1,0));
res += mat4(0.018417367711663,0.037081059068441,-0.064523257315159,-0.045233398675919,-0.014810494147241,-0.022167390212417,-0.039175830781460,-0.109458044171333,-0.032146073877811,0.004505443386734,0.029075762256980,0.041093941777945,0.006360649131238,0.150429815053940,0.097080312669277,0.055444411933422) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.085274107754230,-0.024816984310746,-0.093248978257179,0.038277845829725,-0.022578451782465,0.067462123930454,0.093617893755436,0.018379287794232,0.043475911021233,0.005055367015302,0.029571289196610,-0.024637045338750,-0.031217955052853,0.077440038323402,0.087580516934395,-0.088473685085773) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.093772135674953,0.071098238229752,-0.057840116322041,0.020794475451112,0.064949907362461,-0.081917628645897,-0.088687554001808,0.028903277590871,0.010194073431194,0.034447260200977,0.043001856654882,0.063901439309120,0.051494508981705,0.011414653621614,-0.006734773516655,0.029849829152226) * FEATURE4_texOff(vec2(0,0));
res += mat4(-0.011394480243325,-0.074755154550076,-0.019926823675632,-0.101908594369888,-0.032361511141062,-0.086841545999050,0.044369336217642,-0.129813760519028,-0.027656657621264,-0.011937110684812,0.051431763917208,0.005757837090641,0.008506692945957,-0.080215744674206,0.091140881180763,-0.049418766051531) * FEATURE4_texOff(vec2(0,1));
res += mat4(-0.002532777842134,-0.086617067456245,-0.120611570775509,0.095009528100491,0.023753825575113,0.077815592288971,-0.031894780695438,0.145280599594116,0.019050979986787,0.020313952118158,0.012763361446559,-0.060198407620192,0.103356420993805,-0.000540785316844,0.010768180713058,-0.024277489632368) * FEATURE4_texOff(vec2(1,-1));
res += mat4(0.083974771201611,0.063539952039719,0.059978824108839,-0.060343708842993,-0.119886174798012,0.159022599458694,-0.071684360504150,0.072804242372513,-0.047091178596020,0.029771393164992,0.006295332685113,0.030753495171666,0.003652868326753,0.013311750255525,0.113288730382919,0.010808899067342) * FEATURE4_texOff(vec2(1,0));
res += mat4(-0.012498744763434,-0.110362254083157,-0.006370670627803,-0.090490289032459,0.035521030426025,0.125004529953003,-0.028800655156374,0.046815242618322,-0.027058236300945,0.013254995457828,0.034786831587553,-0.095031984150410,0.003072544932365,0.176279366016388,0.043869711458683,0.041192818433046) * FEATURE4_texOff(vec2(1,1));
res += mat4(-0.065280869603157,0.106075979769230,-0.017882594838738,0.055246371775866,0.039675518870354,-0.073020771145821,-0.073630519211292,-0.082415975630283,0.070279061794281,0.150366917252541,0.049737751483917,0.039969950914383,0.023644125089049,0.112418577075005,-0.023298291489482,-0.025444962084293) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(-0.015984579920769,-0.016932286322117,0.015883868560195,0.053718596696854,0.000959495257121,-0.044005069881678,-0.089671008288860,-0.068024493753910,0.041379433125257,-0.091194041073322,-0.088583335280418,0.031520262360573,0.052222821861506,0.158405616879463,-0.164826691150665,0.093459196388721) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.042178586125374,0.013062925077975,0.006603880319744,-0.045278504490852,-0.011283012107015,-0.130346879363060,0.005556436255574,0.015955552458763,-0.121501810848713,0.080997794866562,0.075747340917587,-0.110005490481853,-0.206402227282524,-0.098611429333687,-0.005437246523798,-0.068795688450336) * FEATURE5_texOff(vec2(-1,1));
res += mat4(-0.022915743291378,-0.118507921695709,-0.040769927203655,0.069609768688679,0.031977675855160,-0.067116081714630,0.012251841835678,-0.044064458459616,-0.076696507632732,-0.093908123672009,-0.048784054815769,0.003906369674951,0.021555423736572,-0.295649290084839,-0.136369451880455,-0.061251673847437) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.096033096313477,0.119821451604366,0.050288431346416,0.021717300638556,-0.011874410323799,0.099498711526394,0.086547158658504,0.081325784325600,-0.158538475632668,0.113627582788467,0.023021120578051,-0.011011349968612,-0.201670020818710,0.204261794686317,0.189332008361816,0.035892922431231) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.035209219902754,-0.021997420117259,0.089829728007317,-0.028344873338938,0.005551743321121,0.054463587701321,0.066138014197350,-0.015358923003078,0.101915366947651,-0.022004980593920,0.036514807492495,-0.166990324854851,0.236218333244324,0.078864604234695,0.001720830216072,-0.063093997538090) * FEATURE5_texOff(vec2(0,1));
res += mat4(-0.001622782321647,0.044046159833670,0.010040373541415,0.017105529084802,0.108319982886314,-0.128225773572922,0.054487027227879,0.013273084536195,-0.061114121228456,-0.015689063817263,-0.035417433828115,0.063512265682220,-0.022923195734620,-0.105232618749142,0.105991527438164,-0.015657642856240) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.062945127487183,-0.216663613915443,0.108114011585712,-0.148908883333206,0.067696839570999,-0.033755369484425,0.087138816714287,0.142671659588814,0.114422179758549,-0.088365122675896,0.054951120167971,-0.036794546991587,0.171299740672112,-0.394543945789337,0.005587482824922,0.013809010386467) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.049758709967136,0.051917318254709,0.015997448936105,-0.021336972713470,0.043532870709896,0.075109414756298,0.086601495742798,-0.110854007303715,-0.001700711203739,0.108380809426308,0.015124605037272,0.105295948684216,-0.017487240955234,-0.023121237754822,-0.029244529083371,-0.036971844732761) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.035437177866697,0.141558721661568,-0.154703602194786,0.016999749466777,-0.051236581057310,0.040532864630222,-0.025531377643347,0.076196581125259,0.019819138571620,-0.053246706724167,-0.156820476055145,0.023359106853604,0.022470882162452,0.023795496672392,-0.015298052690923,0.006348334718496) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.003215410746634,0.060176610946655,-0.153869330883026,0.053856838494539,-0.032173525542021,0.075950719416142,0.028516182675958,0.038182690739632,-0.141787946224213,0.050784032791853,-0.106682367622852,0.086461350321770,0.030747715383768,-0.049558836966753,-0.033444974571466,0.028998436406255) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.043704371899366,-0.064787834882736,-0.068910486996174,-0.071584120392799,0.018558764830232,0.094802863895893,0.034256391227245,-0.075611047446728,-0.051705911755562,0.007426238153130,-0.035969451069832,-0.114270232617855,-0.010710318572819,0.000366783846403,-0.004303413908929,0.053106352686882) * FEATURE6_texOff(vec2(-1,1));
res += mat4(-0.055271364748478,-0.086283534765244,-0.001991727156565,0.036795176565647,0.017898706719279,-0.024266079068184,0.009625424630940,0.056610550731421,-0.168308362364769,-0.119090639054775,-0.114517077803612,0.065588191151619,0.067045412957668,0.046722766011953,-0.011203832924366,0.004788800608367) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.038769204169512,0.119684197008610,0.114387549459934,0.035830732434988,0.014717142097652,0.023890387266874,0.085323415696621,-0.033697925508022,-0.194515213370323,0.162790581583977,0.061197225004435,0.047513473778963,0.038221340626478,0.040912430733442,0.001595556968823,0.001151894684881) * FEATURE6_texOff(vec2(0,0));
res += mat4(0.126977518200874,0.073374018073082,-0.004042373038828,0.040371265262365,0.014810493215919,-0.025400323793292,0.021613107994199,-0.020886605605483,0.142832964658737,0.046736337244511,0.059644866734743,-0.172839984297752,0.058238133788109,-0.005132443271577,-0.049597688019276,0.024201132357121) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.022161047905684,-0.072480574250221,-0.017018549144268,0.011386840604246,0.023675229400396,0.051735609769821,-0.045204423367977,-0.013780939392745,0.095539666712284,-0.212281599640846,-0.115962892770767,0.201170876622200,0.044277332723141,0.015889978036284,0.014647737145424,-0.054861631244421) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.022344961762428,-0.066271774470806,-0.032246645539999,-0.018726583570242,0.022497942671180,0.013540112413466,-0.059272512793541,-0.131053045392036,0.181573301553726,0.069400154054165,0.110512316226959,0.038044672459364,0.003016904229298,-0.153639867901802,-0.015727661550045,-0.111456766724586) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.068100549280643,0.015584457665682,0.029523579403758,0.085006400942802,-0.003255174728110,-0.016930526122451,-0.061379678547382,0.014407131820917,0.005430308170617,0.033962447196245,0.015264848247170,0.089586488902569,-0.039175536483526,0.021779198199511,0.041204091161489,-0.097076833248138) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.034213267266750,-0.185678884387016,-0.179130718111992,-0.054171137511730) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 1_5

vec4 hook()
{
vec4 res = vec4(-0.152916654944420,-0.016563517972827,-0.271826118230820,-0.059520181268454);
res += mat4(0.091502189636230,0.051144849509001,0.078723862767220,0.044626940041780,0.067009806632996,-0.034937169402838,-0.108457930386066,-0.003047246718779,-0.118999883532524,-0.032680556178093,0.017669375985861,0.044174607843161,0.218688786029816,-0.044198647141457,-0.062997564673424,0.035163871943951) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.003416821826249,0.075357265770435,0.117096707224846,0.019592560827732,-0.026635752990842,0.046250108629465,0.104511290788651,0.043415941298008,-0.111831046640873,-0.089621476829052,-0.180343046784401,-0.104094453155994,-0.113680548965931,0.157392516732216,0.170387580990791,0.038512114435434) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.071587577462196,0.087952092289925,0.022651962935925,0.096922390162945,-0.047975528985262,0.027514370158315,-0.025612568482757,-0.014851392246783,-0.028656924143434,-0.086572110652924,-0.193249568343163,-0.121189996600151,-0.036617215722799,0.060901202261448,-0.032511979341507,0.049047406762838) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.014945117756724,-0.060192674398422,-0.050945993512869,0.018507109954953,-0.056067839264870,0.046865653246641,0.025006195530295,-0.050376001745462,0.180366858839989,0.022201834246516,-0.085083462297916,0.030284639447927,-0.004656569566578,0.007868886925280,-0.006165832281113,0.040878746658564) * FEATURE1_texOff(vec2(0,-1));
res += mat4(0.029001615941525,-0.087453775107861,-0.230276525020599,-0.083820819854736,0.086370855569839,-0.018575342372060,-0.114086203277111,0.011298507452011,0.004662271589041,0.128994747996330,0.049491938203573,-0.028159145265818,0.196081683039665,-0.121015213429928,-0.263986527919769,0.109991617500782) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.067613214254379,0.025154069066048,0.074559651315212,-0.034864261746407,-0.073120810091496,0.038306396454573,-0.009692829102278,-0.056238546967506,-0.057362303137779,0.073743522167206,0.090845048427582,0.122195944190025,-0.051702674478292,0.056511357426643,0.137139186263084,0.079892456531525) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.041734501719475,-0.007223403081298,-0.081115409731865,0.013785862363875,0.108054749667645,0.014529641717672,-0.078280143439770,-0.008759239688516,-0.096964776515961,0.000316294579534,0.034480694681406,-0.045293871313334,-0.346898436546326,-0.032662034034729,0.035658251494169,-0.111453332006931) * FEATURE1_texOff(vec2(1,-1));
res += mat4(0.064674936234951,-0.132463276386261,-0.091473840177059,0.000935558695346,-0.029307108372450,-0.006935348734260,0.012350269593298,-0.055820766836405,0.031120399013162,0.007156111765653,0.053602639585733,0.044698070734739,-0.040217958390713,0.002689621876925,-0.005083760246634,-0.028766680508852) * FEATURE1_texOff(vec2(1,0));
res += mat4(0.050673898309469,-0.023952445015311,-0.029715420678258,-0.071316719055176,0.056134615093470,-0.025932935997844,-0.012196294032037,-0.013012464158237,0.012905000708997,0.041698858141899,0.086834259331226,0.137039691209793,0.130199044942856,0.019584307447076,-0.043971896171570,0.030104136094451) * FEATURE1_texOff(vec2(1,1));
res += mat4(0.033147979527712,-0.048219684511423,0.139009818434715,0.109610915184021,0.002576705301180,-0.055915705859661,-0.020898710936308,0.004227180965245,-0.011869078502059,0.006863900460303,-0.000453713349998,-0.006588096730411,0.110503301024437,0.105839416384697,0.104580566287041,0.067689396440983) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.007689393591136,0.066735669970512,0.259312808513641,0.117201387882233,0.013922593556345,0.005766311194748,0.008631092496216,-0.020428596064448,-0.001087060547434,-0.046667531132698,-0.026130015030503,-0.037951938807964,-0.036541242152452,0.067862927913666,-0.028472583740950,-0.036198828369379) * FEATURE2_texOff(vec2(-1,0));
res += mat4(0.067701399326324,0.113230533897877,0.215109437704086,0.324582666158676,-0.004744931124151,-0.002575376303867,-0.032442342489958,-0.026369668543339,-0.000870031479280,-0.011079491116107,-0.075154550373554,-0.018551789224148,0.060833942145109,0.079310193657875,-0.020545955747366,0.052719790488482) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.020830187946558,0.088191919028759,0.142042607069016,-0.000520781730302,-0.003640587907284,-0.039295803755522,-0.017272701486945,-0.011997179128230,-0.042720459401608,0.010391379706562,0.100545287132263,-0.001616185298190,0.039641126990318,-0.106322109699249,-0.079220853745937,0.074761971831322) * FEATURE2_texOff(vec2(0,-1));
res += mat4(0.034802239388227,-0.054807282984257,0.256547510623932,-0.041067861020565,0.059278301894665,-0.021016912534833,-0.030580794438720,-0.021730385720730,-0.039716463536024,-0.095200464129448,-0.046782959252596,0.038487404584885,0.145934298634529,-0.017489388585091,-0.214057207107544,0.156900703907013) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.033468406647444,0.131345003843307,0.279514729976654,0.137029513716698,-0.046987913548946,-0.026774816215038,-0.025743015110493,0.020759144797921,-0.024262411519885,0.012583696283400,0.006719450000674,0.000505310308654,0.047345072031021,0.087485082447529,0.028501611202955,0.054203569889069) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.024268414825201,0.014479043893516,0.048695646226406,0.046522393822670,0.052341002970934,0.007696119602770,-0.037480771541595,-0.024534383788705,0.081708759069443,0.015786509960890,-0.038467045873404,0.035709559917450,-0.137821346521378,-0.008674210868776,0.001696183579043,-0.012099527753890) * FEATURE2_texOff(vec2(1,-1));
res += mat4(0.028773851692677,0.075723171234131,0.169260382652283,-0.067740537226200,0.050359789282084,0.002948308829218,0.018002523109317,-0.053550422191620,-0.057254850864410,-0.022484928369522,0.021719427779317,0.037454172968864,-0.028558848425746,-0.044633857905865,-0.086899355053902,0.006359412800521) * FEATURE2_texOff(vec2(1,0));
res += mat4(0.018164074048400,-0.012556516565382,0.172639206051826,0.159132480621338,0.051115810871124,-0.017037015408278,0.006095875985920,0.014125263318419,-0.015101528726518,-0.011977074667811,0.006919570267200,0.004008064512163,0.036945279687643,0.148992225527763,0.021155836060643,0.014229197055101) * FEATURE2_texOff(vec2(1,1));
res += mat4(0.068643748760223,-0.009034979157150,0.087407819926739,-0.023162195459008,-0.052684027701616,0.076551079750061,0.135218754410744,-0.013142380863428,0.064673386514187,0.016891581937671,-0.005800330545753,0.044421911239624,0.106113106012344,0.060063060373068,0.095845721662045,-0.000687085324898) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(0.035806853324175,-0.064620457589626,-0.063204139471054,-0.112848117947578,0.049497220665216,-0.036062695086002,0.015875793993473,-0.118146739900112,0.047463063150644,-0.032548137009144,-0.086168065667152,-0.082482814788818,0.045151889324188,0.025467010214925,0.055120639503002,-0.088424481451511) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.024592177942395,0.129127383232117,0.012352202087641,0.049805469810963,0.026937026530504,-0.080983243882656,-0.067002102732658,-0.140145719051361,-0.048231124877930,0.011439068242908,-0.010465656407177,0.092507153749466,-0.084854625165462,-0.012079006992280,0.014661110006273,-0.014928075484931) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.078968837857246,-0.059265002608299,-0.018002960830927,0.001675562583841,0.004697389435023,-0.002796520479023,0.025010896846652,0.031003279611468,0.057776331901550,-0.287283927202225,-0.195395618677139,0.092072024941444,-0.167778551578522,-0.105060398578644,0.008453275077045,0.055985093116760) * FEATURE3_texOff(vec2(0,-1));
res += mat4(0.042896237224340,-0.204280510544777,-0.268063902854919,0.054732888936996,-0.053956329822540,-0.100431859493256,-0.097584038972855,0.178098022937775,0.057778667658567,-0.152420178055763,-0.123144842684269,0.003368359524757,0.008399276062846,-0.643504202365875,-0.618876218795776,0.291164398193359) * FEATURE3_texOff(vec2(0,0));
res += mat4(0.029845897108316,-0.040958359837532,-0.046450465917587,0.053218748420477,0.059466835111380,-0.018475957214832,0.053083136677742,0.086995773017406,0.177927345037460,-0.032832290977240,-0.004430606961250,0.115395002067089,0.067580841481686,0.015380969271064,-0.182720720767975,0.050935942679644) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.017437286674976,0.019120903685689,0.093336746096611,-0.079831250011921,0.056946568191051,0.033697910606861,0.049041107296944,-0.061908360570669,0.041497606784105,-0.006483194418252,0.039080761373043,-0.025822434574366,-0.083076693117619,-0.088228903710842,-0.100511617958546,-0.063067160546780) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.042024813592434,0.021542923524976,0.010789403691888,-0.027181882411242,-0.100042298436165,0.055225528776646,0.112524315714836,-0.049266021698713,-0.073074765503407,0.075486712157726,0.048039708286524,-0.149019032716751,-0.087425179779530,-0.063686035573483,-0.185725092887878,0.082143761217594) * FEATURE3_texOff(vec2(1,0));
res += mat4(0.025018392130733,0.014138299971819,0.088327407836914,-0.029244406148791,-0.090152382850647,0.063301935791969,0.100861407816410,-0.044084753841162,0.001967087155208,0.049199290573597,0.088518984615803,-0.052999947220087,-0.027162326499820,-0.034348465502262,-0.067244634032249,-0.125521570444107) * FEATURE3_texOff(vec2(1,1));
res += mat4(0.032662291079760,0.031460858881474,-0.074261717498302,-0.066093653440475,0.042329855263233,-0.021435746923089,0.003665990196168,-0.072966247797012,0.030642295256257,0.106297239661217,-0.039089523255825,-0.021783137694001,0.039281073957682,0.098243102431297,0.041176471859217,-0.001255648559891) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.014906933531165,-0.027006858959794,-0.040476121008396,-0.120785534381866,0.029843809083104,-0.040523391216993,0.009858838282526,-0.070414669811726,0.001129539916292,0.091935075819492,-0.013048028573394,-0.033594459295273,0.144835978746414,0.099317274987698,0.102590210735798,0.024303242564201) * FEATURE4_texOff(vec2(-1,0));
res += mat4(-0.064745336771011,0.051341481506824,-0.037557035684586,0.049792643636465,0.080895863473415,-0.003599197370932,-0.006573327351362,0.005343659780920,0.034961994737387,0.092154696583748,-0.080571107566357,-0.054771304130554,-0.023456471040845,0.095170974731445,0.014895158819854,-0.016199786216021) * FEATURE4_texOff(vec2(-1,1));
res += mat4(0.101678222417831,-0.074026696383953,-0.215691968798637,-0.024695897474885,-0.089627884328365,0.037382394075394,0.224804908037186,0.055376250296831,0.087752297520638,0.055507082492113,0.002861688844860,-0.050228439271450,-0.117862544953823,0.094786725938320,0.073153115808964,-0.007825072854757) * FEATURE4_texOff(vec2(0,-1));
res += mat4(0.021465376019478,0.041083570569754,-0.104886621236801,-0.025325411930680,0.014115716330707,-0.133687689900398,-0.118288658559322,0.175362065434456,0.002279980340973,0.063065953552723,-0.003448225557804,-0.036195438355207,-0.020926758646965,0.025365106761456,-0.005243880674243,0.022002460435033) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.040612798184156,0.146860063076019,0.026362139731646,0.121714435517788,0.104512974619865,0.017883613705635,0.032087437808514,0.032015759497881,0.043814916163683,0.072683244943619,0.006840388290584,-0.052387747913599,0.100199490785599,0.005104561802000,0.017993841320276,-0.058479834347963) * FEATURE4_texOff(vec2(0,1));
res += mat4(0.093422874808311,-0.044981423765421,-0.163216128945351,-0.000677068019286,-0.150140747427940,0.044540844857693,0.107447780668736,-0.024387883022428,0.002672311617061,0.086380124092102,-0.029363859444857,-0.050704915076494,0.095674604177475,0.086081102490425,0.030372248962522,0.068839527666569) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.027168327942491,0.111915394663811,-0.057620666921139,-0.124127790331841,-0.052968937903643,-0.013196576386690,0.084626056253910,0.063507467508316,0.068515613675117,0.070354394614697,-0.028194421902299,-0.031880926340818,-0.027621418237686,0.016328437253833,0.017775027081370,-0.069127947092056) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.067146413028240,0.060634557157755,-0.057215582579374,-0.028758190572262,0.004801490344107,-0.005074116867036,-0.045031990855932,0.062191363424063,0.080053210258484,0.089557170867920,-0.005703523289412,-0.082420490682125,-0.030148919671774,0.004884752444923,0.000896024401300,-0.053453691303730) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.089990772306919,-0.020676022395492,0.033480249345303,0.001480005565099,0.003184505039826,0.027970006689429,0.014272544533014,-0.075475066900253,-0.096889518201351,0.032151032239199,0.062405452132225,0.002604176988825,-0.196323782205582,0.047449622303247,0.037675026804209,0.039402320981026) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(0.065608732402325,-0.059792667627335,-0.007055957335979,0.066138997673988,-0.004423580132425,-0.109567843377590,-0.007642272859812,-0.081391096115112,0.029082207009196,-0.024146629497409,-0.134276613593102,-0.086092658340931,-0.138153523206711,-0.180416509509087,-0.147732719779015,-0.088149696588516) * FEATURE5_texOff(vec2(-1,0));
res += mat4(0.024291288107634,-0.028844714164734,-0.034513700753450,0.061121154576540,0.038461349904537,-0.009544292464852,0.022423513233662,0.004738138988614,0.043558940291405,0.030717095360160,-0.078037694096565,-0.074264422059059,0.104080893099308,-0.097931355237961,-0.069856822490692,-0.110059261322021) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.076127678155899,-0.052052520215511,-0.156402245163918,-0.009053784422576,0.005537771619856,0.007067048456520,-0.030265171080828,-0.045896366238594,0.107351630926132,0.023133689537644,-0.071937657892704,0.038870096206665,0.369474649429321,-0.097433574497700,-0.238537609577179,-0.003126136260107) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.034561637789011,0.244695618748665,0.175669401884079,-0.212371408939362,-0.085576251149178,0.031041270121932,0.013421217910945,-0.039924964308739,-0.105810381472111,0.028033610433340,0.085157632827759,-0.075858779251575,-0.202404677867889,0.213989078998566,0.278273552656174,-0.413607865571976) * FEATURE5_texOff(vec2(0,0));
res += mat4(0.025252832099795,-0.053995437920094,0.008753139525652,-0.118739902973175,-0.009673189371824,-0.027128636837006,-0.020122652873397,-0.056023385375738,0.088112093508244,0.001635723863728,0.018988562747836,0.056598033756018,-0.125777184963226,-0.070910938084126,0.110285528004169,-0.030836544930935) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.020692272111773,-0.055531155318022,-0.056498337537050,0.093532562255859,0.060326963663101,-0.024632038548589,-0.010920401662588,-0.029763856902719,0.066544696688652,0.066040039062500,0.062224313616753,-0.021622847765684,0.035608176141977,-0.070659175515175,-0.035614296793938,0.032381359487772) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.080146357417107,-0.017938420176506,-0.052072767168283,-0.076630257070065,0.002634119242430,0.060784120112658,-0.018939906731248,-0.002871178789064,0.032331828027964,-0.000670810637530,0.052370570600033,-0.035686377435923,0.300118714570999,-0.074242927134037,-0.116987019777298,0.124137677252293) * FEATURE5_texOff(vec2(1,0));
res += mat4(0.027327792719007,-0.006166326347739,-0.045053489506245,-0.072745926678181,0.003479687962681,-0.000390125816921,0.005405611358583,-0.052492059767246,-0.128200262784958,0.046250339597464,0.033474083989859,0.049120761454105,-0.077601999044418,0.018121587112546,0.051140844821930,-0.006169942673296) * FEATURE5_texOff(vec2(1,1));
res += mat4(-0.123826272785664,-0.048705689609051,-0.068328864872456,-0.010148366913199,-0.072027407586575,-0.100997753441334,-0.064263857901096,0.009351687505841,-0.038899362087250,-0.052327044308186,-0.074384987354279,-0.074562437832355,-0.113539397716522,0.032036460936069,0.036232024431229,0.063522882759571) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(-0.008474643342197,-0.035248674452305,-0.108177952468395,-0.032163098454475,-0.028107551857829,0.037776697427034,-0.031748495995998,0.034770168364048,0.016263814643025,-0.091717608273029,-0.125113919377327,-0.099170878529549,-0.008891587145627,-0.030081583186984,-0.032861076295376,0.037666253745556) * FEATURE6_texOff(vec2(-1,0));
res += mat4(0.049324288964272,-0.090958498418331,-0.055284984409809,-0.110005632042885,0.021556710824370,0.030493704602122,-0.040643658488989,-0.061690650880337,-0.010551810264587,-0.074246369302273,-0.165836721658707,-0.105446308851242,-0.029782027006149,-0.011837541125715,0.034274853765965,0.003348353318870) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.117203675210476,-0.022462947294116,-0.041626624763012,0.004561239853501,0.059877544641495,-0.072827562689781,-0.004624018911272,-0.011003722436726,0.089908719062805,-0.049890797585249,-0.174160256981850,0.001442235894501,-0.043612807989120,-0.041140560060740,0.013197263702750,0.006693935021758) * FEATURE6_texOff(vec2(0,-1));
res += mat4(-0.071160309016705,0.080364845693111,0.152532920241356,-0.029453581199050,0.007890305481851,0.095148421823978,0.181206777691841,0.008775641210377,-0.101444028317928,0.053841855376959,0.176335364580154,-0.172670990228653,-0.043993700295687,0.034868523478508,0.071809574961662,-0.051647804677486) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.030825378373265,0.001255691866390,-0.065982125699520,-0.007584405597299,0.044702596962452,-0.083914190530777,-0.011560305021703,-0.017032796517015,0.042827475816011,-0.065981715917587,0.042243231087923,-0.037524439394474,-0.029113093391061,-0.032368678599596,0.012574987486005,-0.035389624536037) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.030186945572495,-0.004380227532238,-0.103916600346565,0.013749820180237,0.009495771490037,-0.048212703317404,-0.019733620807528,-0.006873155012727,0.146482750773430,-0.036724247038364,-0.094518922269344,0.013708933256567,0.015455357730389,-0.023451765999198,0.027541756629944,0.038012217730284) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.057292174547911,0.083848595619202,-0.020940637215972,-0.021493747830391,-0.014340845867991,0.035934183746576,0.036085907369852,-0.045840162783861,-0.064834319055080,0.099710628390312,0.112767197191715,-0.092381991446018,0.092864476144314,0.010167849250138,-0.014850262552500,0.051816318184137) * FEATURE6_texOff(vec2(1,0));
res += mat4(-0.023824861273170,0.055688012391329,-0.014254048466682,-0.022409884259105,0.004769822582603,0.007440928369761,-0.048436455428600,-0.016735410317779,0.018020201474428,-0.079556837677956,-0.019103089347482,-0.018409917131066,0.001831122674048,-0.009080828167498,0.018205441534519,-0.003299330361187) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.057585339993238,0.187893524765968,-0.000377744145226,0.022479897364974) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND FEATURE1
//!BIND FEATURE2
//!BIND FEATURE3
//!BIND FEATURE4
//!BIND FEATURE5
//!BIND FEATURE6
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 1_6

vec4 hook()
{
vec4 res = vec4(-0.071497939527035,-0.157931044697762,0.027635386213660,-0.054561499506235);
res += mat4(-0.002926293760538,0.039528667926788,0.108455456793308,0.002092844573781,0.000043871048547,0.029746051877737,0.008434033021331,0.027812333777547,-0.003177648177370,0.037606645375490,-0.011212646961212,-0.029640732333064,-0.001607628539205,0.013821247033775,-0.038784854114056,0.011745038442314) * FEATURE1_texOff(vec2(-1,-1));
res += mat4(-0.001955157611519,0.048355579376221,0.116642072796822,-0.039918605238199,-0.000193582498468,0.029777633026242,0.075942635536194,-0.026362659409642,-0.002973948372528,-0.084114544093609,-0.177502110600471,0.047290571033955,-0.000058157340391,0.073839016258717,0.058154940605164,-0.100715100765228) * FEATURE1_texOff(vec2(-1,0));
res += mat4(-0.001876199035905,0.022945154458284,0.126497432589531,0.021616267040372,-0.000156977854203,-0.064468108117580,0.025489965453744,-0.010919349268079,-0.003032329725102,-0.036471232771873,-0.017940808087587,-0.068525061011314,-0.001108368043788,0.017050975933671,0.069869883358479,0.086340598762035) * FEATURE1_texOff(vec2(-1,1));
res += mat4(-0.004296455066651,-0.055802952498198,-0.033433888107538,0.022974953055382,0.000153878005221,0.003228307468817,0.032567329704762,-0.024113737046719,-0.001388011383824,-0.104029111564159,-0.125439628958702,-0.061734914779663,-0.001744458568282,-0.073074370622635,-0.012855800800025,0.021520413458347) * FEATURE1_texOff(vec2(0,-1));
res += mat4(-0.002636166987941,-0.162562459707260,-0.176551535725594,0.049807649105787,0.000015683992387,-0.049682952463627,-0.060702566057444,0.096587717533112,-0.000136082962854,0.101683109998703,0.025552758947015,-0.181106820702553,-0.000831103476230,-0.186493754386902,-0.120198585093021,0.054508522152901) * FEATURE1_texOff(vec2(0,0));
res += mat4(-0.001255505834706,0.088318109512329,0.033595073968172,-0.020338641479611,-0.000071337628469,0.059390235692263,0.012224876321852,0.010635766200721,-0.000142250748468,0.041946306824684,-0.086454890668392,-0.119567677378654,-0.001723903813399,0.136751040816307,-0.028664175421000,-0.134197682142258) * FEATURE1_texOff(vec2(0,1));
res += mat4(-0.004060846753418,-0.061749350279570,-0.094680890440941,0.036189164966345,0.000090781977633,-0.039115350693464,0.001475983997807,-0.059255331754684,-0.001982013462111,0.116484776139259,0.014247272163630,0.029321184381843,-0.001817472046241,-0.024550821632147,0.032105371356010,-0.019277511164546) * FEATURE1_texOff(vec2(1,-1));
res += mat4(-0.003458849852905,-0.112003102898598,-0.135646209120750,-0.081863060593605,-0.000015360459656,0.014761885628104,0.033726193010807,0.027255007997155,-0.001416805665940,0.012383592315018,0.049651999026537,-0.020120389759541,-0.000515872437973,0.091596551239491,-0.056019969284534,-0.002970464760438) * FEATURE1_texOff(vec2(1,0));
res += mat4(-0.001688700402156,-0.079477645456791,0.037042625248432,0.018648097291589,-0.000187080309843,-0.041833192110062,-0.041397284716368,0.000939090678003,-0.000360477657523,0.015088659711182,0.008856885135174,0.035103455185890,-0.001706163282506,-0.059882555156946,-0.007014836650342,0.024751212447882) * FEATURE1_texOff(vec2(1,1));
res += mat4(-0.002400569617748,0.050442729145288,0.053501415997744,0.061510786414146,-0.000285175046884,-0.017732480540872,0.003611365100369,0.000489759666380,0.000125044491142,0.035016790032387,-0.023565137758851,0.000277911080047,0.001064277370460,0.046028904616833,0.138599991798401,-0.029489973559976) * FEATURE2_texOff(vec2(-1,-1));
res += mat4(-0.001425518654287,0.137827143073082,0.152397707104683,0.076185226440430,-0.000259654363617,0.011743781156838,0.004037624690682,-0.046995669603348,0.000315892772051,-0.076006025075912,0.020240237936378,-0.015974301844835,0.003230057656765,-0.045975036919117,0.019365409389138,-0.010428191162646) * FEATURE2_texOff(vec2(-1,0));
res += mat4(-0.001251738285646,0.104971908032894,0.239294603466988,0.080365017056465,-0.000301980238874,-0.023358890786767,-0.009123765863478,-0.080556355416775,-0.000155880348757,-0.022966396063566,-0.065388925373554,-0.048129279166460,0.000753436819650,0.127472609281540,0.068517461419106,-0.036095205694437) * FEATURE2_texOff(vec2(-1,1));
res += mat4(-0.003424024907872,0.016424233093858,0.067225500941277,0.052152879536152,-0.000139111551107,-0.016723498702049,-0.001057856599800,-0.024524154141545,0.000204872107133,0.043683119118214,0.029043212532997,-0.027005326002836,-0.000739222567063,-0.123027250170708,0.006671406328678,0.157860130071640) * FEATURE2_texOff(vec2(0,-1));
res += mat4(-0.002408156869933,0.184795707464218,0.062625072896481,0.069421544671059,-0.000067852211941,-0.041398949921131,-0.050186663866043,-0.002175294561312,0.000195500004338,-0.024912314489484,0.014629950746894,0.050935734063387,0.000824138463940,-0.087041504681110,0.047461006790400,0.119336090981960) * FEATURE2_texOff(vec2(0,0));
res += mat4(-0.002050701295957,0.175824463367462,0.160189330577850,0.108796365559101,-0.000102985904959,0.027536021545529,-0.043309800326824,-0.044167328625917,-0.000050355301937,0.013337158598006,0.029313402250409,-0.026007564738393,-0.000879957398865,0.092285826802254,-0.040850691497326,0.019790412858129) * FEATURE2_texOff(vec2(0,1));
res += mat4(-0.004405516665429,0.091392569243908,0.071099355816841,0.016984526067972,-0.000244465598371,-0.004143928643316,-0.031625397503376,-0.028297044336796,-0.000000174026923,-0.017787897959352,-0.006930672563612,0.000730714760721,-0.001025295234285,0.058426141738892,0.067315191030502,0.060231570154428) * FEATURE2_texOff(vec2(1,-1));
res += mat4(-0.003675130195916,0.109777286648750,0.113594532012939,0.094401322305202,-0.000141668628203,-0.012704619206488,0.011865995824337,-0.033920995891094,0.000029993521821,-0.015580552630126,0.033365719020367,0.002716325456277,-0.000450681953225,0.040115796029568,0.048790130764246,-0.001218663179316) * FEATURE2_texOff(vec2(1,0));
res += mat4(-0.003272050293162,0.046346839517355,0.177531987428665,0.042171817272902,-0.000139685391332,-0.043159570544958,-0.040135934948921,0.009499238803983,-0.000289070652798,-0.009473461657763,0.008066257461905,-0.080724358558655,-0.002950606169179,0.120644971728325,-0.096594817936420,-0.013436424545944) * FEATURE2_texOff(vec2(1,1));
res += mat4(-0.002373640658334,0.021891888231039,0.065172523260117,0.014560528099537,0.000709226005711,0.114773854613304,0.062156405299902,-0.004993977956474,0.000350791524397,-0.070743955671787,0.095863632857800,0.012743558734655,0.000068200424721,-0.043565835803747,0.092275850474834,-0.045442346483469) * FEATURE3_texOff(vec2(-1,-1));
res += mat4(-0.002020263578743,-0.151407241821289,-0.065999329090118,-0.023511029779911,0.001205265172757,-0.140124827623367,0.043312024325132,0.039090912789106,0.001130272983573,-0.092111431062222,-0.138418003916740,-0.031052529811859,0.001130464486778,-0.122166819870472,0.149347260594368,-0.117917478084564) * FEATURE3_texOff(vec2(-1,0));
res += mat4(-0.000788402161561,0.036770623177290,0.139627799391747,0.061170890927315,0.001021548290737,-0.057266779243946,-0.016056030988693,-0.098471552133560,0.001610247185454,0.029810354113579,0.088292121887207,0.020363992080092,0.002213229425251,0.029179228469729,-0.023046385496855,-0.049911651760340) * FEATURE3_texOff(vec2(-1,1));
res += mat4(-0.003029244253412,-0.051984164863825,-0.108980119228363,0.002327753929421,-0.000178772024810,-0.030781438574195,-0.025739548727870,0.024819778278470,-0.000194380292669,-0.154273003339767,-0.040683399885893,0.171106293797493,-0.001967045478523,-0.114529475569725,0.070521399378777,0.036571763455868) * FEATURE3_texOff(vec2(0,-1));
res += mat4(-0.003180507337674,-0.186756208539009,-0.258717924356461,0.004638695623726,-0.000235085681197,0.017084257677197,0.054981242865324,0.062079060822725,-0.000257307576248,-0.053181767463684,-0.135585322976112,-0.085150614380836,-0.001187384594232,-0.522529423236847,-0.218158408999443,0.288466215133667) * FEATURE3_texOff(vec2(0,0));
res += mat4(-0.001853395369835,0.030895058065653,0.153905123472214,-0.064359895884991,-0.001068443525583,0.014816975221038,0.050651527941227,-0.090827949345112,0.001370757119730,-0.033692985773087,0.116610094904900,0.008923321962357,0.000687761465088,0.083982914686203,0.153537213802338,-0.077255025506020) * FEATURE3_texOff(vec2(0,1));
res += mat4(-0.000953992537688,0.032856240868568,0.010417419485748,-0.025782480835915,0.000716111273505,0.048126675188541,0.051447592675686,-0.017741048708558,0.000585022498854,0.017673073336482,0.130136996507645,-0.066391967236996,-0.000722068885807,-0.032221514731646,-0.052380863577127,0.011338303796947) * FEATURE3_texOff(vec2(1,-1));
res += mat4(-0.001575279748067,0.074513882398605,-0.037802387028933,-0.060312464833260,0.001248114160262,0.080049455165863,0.130124464631081,0.030255461111665,-0.001022016513161,0.114889554679394,0.047578565776348,-0.011565361171961,-0.000812055426650,0.045343715697527,0.072622820734978,-0.121688410639763) * FEATURE3_texOff(vec2(1,0));
res += mat4(-0.001121596200392,0.118847154080868,0.139191552996635,0.120798148214817,-0.000354454037733,0.048201024532318,-0.101024113595486,0.005476666614413,0.000177325098775,0.061492543667555,0.000822382397018,0.127508983016014,0.000204225332709,-0.001278875046410,-0.097720481455326,0.024827761575580) * FEATURE3_texOff(vec2(1,1));
res += mat4(-0.001642708433792,-0.029531141743064,-0.066384345293045,-0.044194683432579,0.000438752496848,-0.018887171521783,-0.043386686593294,0.009281976148486,-0.000006034007583,0.060983784496784,-0.061866980046034,0.003477898659185,0.000016439234969,0.060946725308895,0.015301415696740,0.024857824668288) * FEATURE4_texOff(vec2(-1,-1));
res += mat4(-0.001205106615089,-0.024627763777971,-0.124084360897541,-0.063950225710869,0.001357942121103,-0.022592522203922,0.110868021845818,-0.020923800766468,0.000047110974265,-0.005893781781197,-0.013760872185230,0.008957530371845,-0.000037798574340,0.084625534713268,0.127623975276947,-0.027004010975361) * FEATURE4_texOff(vec2(-1,0));
res += mat4(0.001982185523957,0.037407781928778,-0.057097051292658,-0.100331991910934,-0.000720758340321,0.013176774606109,-0.037736825644970,0.162016436457634,0.000092998918262,0.030836759135127,-0.015406874008477,-0.019345188513398,0.000040413702663,-0.024456577375531,-0.022634113207459,0.087809219956398) * FEATURE4_texOff(vec2(-1,1));
res += mat4(-0.002270665485412,-0.061114516109228,-0.098384842276573,0.010154487565160,-0.000533850921784,0.002500450471416,0.103293754160404,-0.031349651515484,0.000093545837444,0.018144804984331,-0.005626866593957,-0.019170399755239,-0.000134703252115,0.052494451403618,0.079610981047153,-0.022912859916687) * FEATURE4_texOff(vec2(0,-1));
res += mat4(-0.002692735753953,0.103014267981052,-0.093949794769287,-0.029601678252220,-0.000707718601916,-0.116681441664696,0.073095284402370,0.071063473820686,0.000006479780495,0.048663381487131,-0.021560046821833,-0.000428909377661,-0.000101889592770,-0.002103365724906,0.001346682314761,0.061073329299688) * FEATURE4_texOff(vec2(0,0));
res += mat4(0.001741793705150,0.080139882862568,-0.005464983638376,0.020753413438797,-0.002338625025004,0.043115671724081,0.044984653592110,-0.008624120615423,0.000036253179132,0.044079661369324,0.041536238044500,-0.014359464868903,-0.000103000733361,-0.024046108126640,0.017607256770134,0.024864874780178) * FEATURE4_texOff(vec2(0,1));
res += mat4(-0.002970704343170,-0.016192279756069,-0.074887976050377,-0.069717980921268,0.000358446122846,0.082528680562973,0.079396992921829,0.096806682646275,0.000115339978947,-0.012334171682596,-0.050347849726677,-0.041032202541828,0.000741896394175,-0.004748664330691,-0.026407612487674,0.001033959444612) * FEATURE4_texOff(vec2(1,-1));
res += mat4(-0.002717445371673,0.011369265615940,-0.052991271018982,-0.085237316787243,-0.000985616701655,0.108341798186302,0.092624425888062,0.083376660943031,0.000068588502472,0.039853315800428,-0.019874658435583,-0.006236280780286,0.000286621798296,-0.015062451362610,-0.039879024028778,0.042992517352104) * FEATURE4_texOff(vec2(1,0));
res += mat4(0.001812778646126,0.037561461329460,-0.082777768373489,-0.009911688044667,-0.001789649482816,0.022601209580898,-0.048373784869909,-0.171629562973976,0.000084632207290,0.051073551177979,0.006695202551782,-0.019416717812419,0.000220619112952,0.038780625909567,-0.080534115433693,-0.046937409788370) * FEATURE4_texOff(vec2(1,1));
res += mat4(0.001146324677393,-0.006990373600274,0.050317849963903,-0.071902267634869,0.000255079241470,0.016170481219888,-0.038338582962751,-0.057463120669127,0.000073730756412,0.005056786350906,0.037933364510536,-0.012396984733641,-0.000605281675234,0.078116752207279,0.022445758804679,0.008323778398335) * FEATURE5_texOff(vec2(-1,-1));
res += mat4(-0.001413725665770,0.049022644758224,-0.020270282402635,0.001235549221747,0.000129058287712,-0.051954556256533,-0.004097025375813,0.023857975378633,0.000153610744746,-0.054559845477343,-0.054794210940599,0.001700595254079,-0.001863550045528,-0.013622780330479,-0.153802245855331,0.100619181990623) * FEATURE5_texOff(vec2(-1,0));
res += mat4(-0.000890693627298,-0.003754440229386,0.055779077112675,0.078443586826324,0.000012600411537,0.005765718407929,-0.060701340436935,0.021220754832029,0.000189186524949,0.033135630190372,-0.003771638497710,0.024292541667819,-0.001360312220640,0.005983762443066,0.045597366988659,-0.125499919056892) * FEATURE5_texOff(vec2(-1,1));
res += mat4(0.002021661493927,-0.064082838594913,-0.063898541033268,0.063345275819302,0.000384653481888,-0.007669409271330,-0.037768315523863,-0.006517693866044,-0.000090684385214,-0.050463110208511,-0.113751754164696,0.035724170506001,0.000692450033966,-0.112536333501339,-0.165971755981445,0.067016236484051) * FEATURE5_texOff(vec2(0,-1));
res += mat4(-0.000107444808236,0.157064139842987,0.033596396446228,-0.126133903861046,0.000151785046910,0.086958505213261,0.020641116425395,-0.002729800995439,0.000118594260130,0.095647782087326,0.081773377954960,-0.139362499117851,0.000999029492959,0.215478613972664,0.041425276547670,-0.295231580734253) * FEATURE5_texOff(vec2(0,0));
res += mat4(-0.001010934007354,-0.085100695490837,-0.174448192119598,0.106740780174732,0.000132779096020,-0.009804340079427,-0.016071047633886,0.022033276036382,0.000233862621826,-0.030680723488331,-0.031223645433784,-0.011654051952064,0.000768477679230,-0.086188375949860,-0.101243436336517,0.076264023780823) * FEATURE5_texOff(vec2(0,1));
res += mat4(0.002890655538067,-0.024437619373202,-0.113322384655476,0.059531096369028,0.000572730670683,-0.070739209651947,-0.011336275376379,0.000205957767321,-0.000291284610284,0.138864472508430,0.069737128913403,0.023951046168804,-0.000224279909162,-0.041477382183075,0.020221536979079,-0.004478621762246) * FEATURE5_texOff(vec2(1,-1));
res += mat4(0.000386183528462,-0.152459561824799,-0.205438718199730,0.082419358193874,0.000394216593122,-0.025441285222769,-0.051294203847647,-0.035885483026505,-0.000023470967790,-0.043413959443569,-0.050439730286598,0.005322579760104,0.000458742229966,-0.191660121083260,-0.170729801058769,-0.152032434940338) * FEATURE5_texOff(vec2(1,0));
res += mat4(-0.000008748083928,-0.074186831712723,-0.001151603180915,-0.134371832013130,0.000439066818217,0.005917735397816,-0.001852910965681,-0.081586249172688,0.000071928545367,0.080956488847733,0.014567452482879,-0.013514040969312,0.001525202416815,-0.010471830144525,0.022771585732698,0.094951689243317) * FEATURE5_texOff(vec2(1,1));
res += mat4(0.001471046824008,-0.029165351763368,-0.029197767376900,-0.031058652326465,0.002967594657093,0.000261319743004,0.001219365280122,-0.011299653910100,0.000575010082684,-0.008097720332444,0.015361739322543,-0.004538170062006,0.001471226336434,-0.013623125851154,0.003023676108569,0.016585413366556) * FEATURE6_texOff(vec2(-1,-1));
res += mat4(0.000245902367169,0.023452783003449,-0.043427389115095,-0.011560900136828,0.002667710883543,0.076216176152229,-0.036833863705397,0.011735858395696,-0.003332493361086,-0.066104382276535,-0.155983820557594,0.029650310054421,0.001076791551895,0.008588152937591,-0.009254807606339,0.046544093638659) * FEATURE6_texOff(vec2(-1,0));
res += mat4(-0.001330226310529,-0.072555072605610,-0.107484385371208,-0.088399514555931,0.001719778636470,0.015212981030345,-0.103971473872662,-0.075516760349274,-0.002112459391356,-0.024120396003127,-0.054020315408707,0.079112268984318,0.000799750152510,-0.010334270074964,-0.027368322014809,-0.017591664567590) * FEATURE6_texOff(vec2(-1,1));
res += mat4(0.002878271741793,-0.015958886593580,0.037881892174482,-0.063882708549500,0.002443801611662,-0.037581317126751,0.063663348555565,0.009336104616523,0.000584854744375,-0.017348470166326,-0.073580034077168,-0.002482834504917,0.001298060175031,0.007043633610010,0.058636225759983,-0.005017188843340) * FEATURE6_texOff(vec2(0,-1));
res += mat4(0.002058417303488,0.084218792617321,0.122227810323238,-0.088934727013111,0.002538109198213,0.128349319100380,0.122672937810421,0.011559481732547,-0.001961743924767,0.233952477574348,0.041330527514219,-0.206592351198196,0.001155743375421,0.010094811208546,-0.002606590511277,-0.028601324185729) * FEATURE6_texOff(vec2(0,0));
res += mat4(-0.000344312982634,-0.046300884336233,-0.093653224408627,0.022524068132043,0.001653268467635,-0.041876252740622,-0.069319829344749,-0.020224839448929,-0.001029425184242,-0.059280797839165,-0.052698113024235,-0.010966467671096,0.001117346924730,-0.038874536752701,-0.003851009765640,-0.031134607270360) * FEATURE6_texOff(vec2(0,1));
res += mat4(0.002069876529276,-0.026204906404018,-0.037381157279015,0.033388558775187,0.000421398493927,0.029546061530709,0.030073182657361,-0.060008518397808,0.001033798675053,0.026707405224442,-0.011048666201532,-0.029452713206410,0.000853469653521,-0.045818772166967,-0.011939023621380,0.032425165176392) * FEATURE6_texOff(vec2(1,-1));
res += mat4(0.002277974970639,-0.010557052679360,0.050431203097105,0.030699547380209,0.000652103626635,0.061817023903131,0.033535882830620,-0.024335879832506,-0.001098216394894,0.053801752626896,-0.072241745889187,0.085553333163261,0.000861327338498,-0.062276769429445,0.016285186633468,-0.053089026361704) * FEATURE6_texOff(vec2(1,0));
res += mat4(0.000787718628999,-0.045245569199324,-0.141763910651207,-0.015710057690740,0.000129517415189,0.025222331285477,-0.115401379764080,-0.077682055532932,0.000972212757915,-0.055341456085443,0.013922327198088,-0.142327472567558,0.000860570406076,-0.040683437138796,0.042000081390142,0.016445724293590) * FEATURE6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.001680164365098,-0.004475203808397,0.018596338108182,0.007546730339527) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 2_1

vec4 hook()
{
vec4 res = vec4(-0.026623878628016,-0.046026602387428,0.046935785561800,-0.023111149668694);
res += mat4(-0.002709822962061,0.174965709447861,-0.035168625414371,-0.099429123103619,0.054668944329023,0.079239301383495,0.008192096836865,-0.089897997677326,0.073510222136974,-0.081009283661842,-0.080469287931919,-0.004930975846946,0.055173691362143,0.007170644123107,-0.104447431862354,-0.133932143449783) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.171519100666046,0.146434754133224,-0.126895084977150,0.115240842103958,0.037422388792038,0.172440141439438,0.091226398944855,-0.141524612903595,-0.098502270877361,0.061705779284239,0.294518858194351,-0.064457580447197,-0.052491560578346,0.026370806619525,-0.111821398139000,0.058456014841795) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.015596384182572,0.035551562905312,-0.065918184816837,-0.044618330895901,-0.071037963032722,-0.080416664481163,-0.037934467196465,0.052065208554268,-0.003649156773463,0.068507939577103,-0.058869399130344,0.014742541126907,-0.014963079243898,0.038846611976624,0.001754674129188,0.083604253828526) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.013004123233259,0.013024625368416,-0.080922387540340,0.083745233714581,-0.181091651320457,-0.088236913084984,0.049859348684549,0.085928641259670,-0.026434842497110,-0.041919562965631,-0.100913606584072,-0.036012131720781,0.023661719635129,-0.000362137710908,-0.158484458923340,-0.087967768311501) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.099906846880913,0.176388263702393,-0.079343743622303,-0.029545083642006,0.421023398637772,0.026836903765798,0.234374508261681,-0.328607410192490,-0.080437168478966,-0.059679161757231,0.084024377167225,0.025153130292892,-0.166614159941673,0.033350057899952,0.032378580421209,-0.072766877710819) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.164211571216583,-0.102495044469833,0.019918976351619,0.024523232132196,0.041421614587307,0.046414196491241,-0.166762232780457,-0.155766367912292,-0.019614307209849,0.087894037365913,0.040593639016151,0.011087847873569,-0.114981606602669,0.108836054801941,0.065236411988735,-0.171471819281578) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.025083243846893,0.144862845540047,-0.059187609702349,-0.135263904929161,0.041988249868155,0.031099738553166,-0.011908007785678,0.132716923952103,-0.031770538538694,0.026022737845778,-0.056389953941107,0.055468052625656,0.005567979533225,0.144521981477737,-0.013528481125832,-0.111883237957954) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.084561526775360,0.070376135408878,-0.099248819053173,-0.204691797494888,-0.267757624387741,-0.051340922713280,-0.086491681635380,0.318456470966339,0.148847088217735,0.088759690523148,0.189219981431961,0.002059895312414,-0.146761760115623,0.115647017955780,-0.101191528141499,-0.081983059644699) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.064767703413963,-0.096371203660965,-0.064380057156086,-0.076233834028244,0.040613293647766,0.124551348388195,-0.015183333307505,-0.102315746247768,-0.224397927522659,-0.088754758238792,-0.020722853019834,0.088942795991898,-0.132126599550247,-0.014576618559659,0.056971017271280,-0.036246664822102) * MODEL1_texOff(vec2(1,1));
res += mat4(0.036438900977373,0.099942602217197,0.045902546495199,-0.047738231718540,0.016340374946594,-0.013903753831983,-0.087897390127182,0.034132104367018,0.042362969368696,0.054730035364628,0.023582287132740,0.079118371009827,-0.074539341032505,0.044754706323147,0.030405143275857,-0.005066225305200) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.007547273766249,0.111591152846813,0.036686949431896,0.055407393723726,-0.044388815760612,-0.000716078095138,0.006150640081614,0.001312100910582,-0.027661602944136,0.049426414072514,-0.122023604810238,0.127191603183746,0.201278671622276,-0.088334701955318,0.017928516492248,-0.061209764331579) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.038585245609283,0.095699086785316,-0.022167392075062,-0.033841755241156,0.000171979001607,0.063019618391991,-0.008497524075210,0.065318524837494,0.044920559972525,-0.155391946434975,0.023439088836312,0.047304123640060,0.046739455312490,-0.049610443413258,0.059248410165310,-0.007503845728934) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.059350997209549,-0.131767109036446,0.004563905298710,-0.116910390555859,0.095271825790405,0.088791295886040,-0.280260562896729,-0.010608472861350,0.038381926715374,-0.001991377444938,0.074197947978973,0.010966283269227,-0.006359363906085,0.010541283525527,0.041319809854031,0.072711847722530) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.062050655484200,0.020001281052828,0.036476705223322,0.118537828326225,0.095718048512936,-0.091665126383305,-0.010150581598282,-0.133208423852921,-0.109312385320663,0.018903288990259,-0.021191127598286,-0.078802272677422,-0.199837610125542,0.051689412444830,-0.166537940502167,0.020938094705343) * MODEL2_texOff(vec2(0,0));
res += mat4(0.136708989739418,0.061003107577562,0.075605608522892,-0.113742016255856,0.021306395530701,-0.018594853579998,0.052259117364883,0.032265514135361,-0.078101538121700,-0.013069339096546,0.091449692845345,0.040632527321577,0.045360021293163,0.004330350551754,0.091025657951832,0.050862468779087) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.023671088740230,-0.142847910523415,-0.021267211064696,-0.030077312141657,-0.002638171194121,0.066713571548462,-0.211676314473152,0.058716073632240,-0.039506524801254,-0.096049152314663,-0.010467736981809,-0.104872167110443,-0.016230314970016,-0.036911465227604,0.024777211248875,0.085974231362343) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.029308341443539,-0.145192950963974,0.076538927853107,-0.002917333040386,0.244978055357933,-0.173072114586830,0.077915124595165,-0.098653577268124,0.047806203365326,0.031592912971973,0.064838543534279,-0.119785390794277,0.358082145452499,0.022588720545173,-0.012654878199100,-0.338167428970337) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.083191402256489,-0.154028773307800,0.057812318205833,0.121299363672733,0.094795539975166,-0.033582236617804,0.000024896633477,-0.210399746894836,-0.024296581745148,-0.092354349792004,-0.011156606487930,0.076214306056499,-0.171865701675415,0.057362213730812,-0.082597300410271,0.053605426102877) * MODEL2_texOff(vec2(1,1));
res += mat4(0.002969025401399,0.077218130230904,0.029441170394421,-0.077493481338024,-0.004577107261866,0.138602942228317,0.088156908750534,0.000285301532131,0.019340775907040,0.017993014305830,0.115169711410999,-0.039256960153580,-0.054633446037769,-0.011609849520028,0.014167260378599,0.009164767339826) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.009266282431781,0.142310455441475,0.072501391172409,0.031282950192690,-0.040761716663837,0.378135740756989,0.018066357821226,0.064149238169193,0.102257780730724,0.095456324517727,-0.007830059155822,-0.172983795404434,-0.075327500700951,0.030059527605772,0.006489862222224,0.036774531006813) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.016756990924478,0.097688704729080,-0.143395379185677,-0.040305484086275,-0.000271776050795,0.036868073046207,-0.037185277789831,-0.037542596459389,0.010830323211849,0.019521415233612,-0.009132631123066,-0.162220880389214,-0.013608923181891,0.030099119991064,0.050039738416672,0.021872848272324) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.062123555690050,-0.020414302125573,-0.066776834428310,-0.137993693351746,0.041377816349268,-0.128180623054504,0.074521340429783,-0.143426135182381,-0.119534797966480,0.004109707660973,-0.050416961312294,-0.112507119774818,0.069767430424690,0.022887255996466,0.000290791504085,-0.082866430282593) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.033657260239124,0.047145683318377,0.017543125897646,0.016504390165210,-0.104570969939232,-0.170529603958130,-0.121972188353539,-0.009512528777122,0.100049771368504,0.099430158734322,0.069049239158630,-0.055557869374752,-0.007420255802572,0.034758206456900,0.008644660003483,0.006073740310967) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.006196015048772,0.029138656333089,-0.059705667197704,0.004878521431237,-0.073930628597736,-0.069270871579647,-0.029114950448275,0.105376034975052,-0.020297961309552,0.103212311863899,0.121707744896412,-0.052092380821705,0.020253702998161,-0.012141157872975,0.054489441215992,-0.032373443245888) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.007702811621130,0.008200024254620,-0.098594218492508,0.040252260863781,-0.038660097867250,-0.067997433245182,0.026285978034139,0.081143036484718,-0.132569372653961,-0.151226788759232,-0.156727597117424,0.157587990164757,-0.046058785170317,0.008444184437394,-0.006967281922698,0.014259568415582) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.001834355643950,-0.045370381325483,-0.012473701499403,0.166098281741142,0.113718278706074,-0.181172847747803,-0.027804128825665,-0.054330434650183,0.078493677079678,0.003932177089155,-0.030384672805667,-0.199753940105438,0.022044077515602,0.073710590600967,0.000335310673108,-0.047274328768253) * MODEL3_texOff(vec2(1,0));
res += mat4(0.049894705414772,-0.032094448804855,0.065410941839218,-0.135758519172668,0.046255450695753,-0.083409406244755,-0.102514334022999,-0.059537924826145,0.023165520280600,-0.008808491751552,0.091755874454975,-0.306826442480087,-0.011258969083428,0.068830132484436,-0.029278740286827,0.028012966737151) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.035547215491533,-0.011059501208365,-0.006322052795440,0.046655721962452,0.050766628235579,0.145027443766594,-0.237780645489693,0.172226190567017,-0.050130125135183,0.060200806707144,0.021308194845915,-0.000218323621084,-0.011475247330964,-0.037140995264053,-0.022150760516524,-0.078770436346531) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.098795525729656,0.057095624506474,-0.021573228761554,-0.103494726121426,-0.070945709943771,0.135762006044388,-0.245467722415924,0.189516410231590,-0.047128226608038,-0.017745884135365,0.011262781918049,0.040810428559780,-0.123023942112923,0.003538734745234,0.034942567348480,-0.122676037251949) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.042195085436106,0.025428745895624,0.115686602890491,-0.000475555600133,0.155096858739853,-0.038650851696730,-0.075794763863087,-0.033793274313211,0.022397328168154,0.010742752812803,0.013942068442702,-0.069671154022217,-0.137760579586029,-0.036373805254698,0.068457990884781,0.115268796682358) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.043542709201574,-0.077965237200260,-0.105389460921288,0.013413636945188,0.137509927153587,-0.078015051782131,-0.150825977325439,-0.080147929489613,-0.046447288244963,-0.168758183717728,0.015662850812078,0.029976611956954,0.057536210864782,-0.021656503900886,-0.036124724894762,-0.128052815794945) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.093006543815136,0.035202186554670,0.172105446457863,0.138362109661102,-0.210926651954651,-0.040358513593674,-0.102420009672642,0.153950110077858,0.133112698793411,-0.168285071849823,0.031908474862576,-0.038945782929659,-0.056723300367594,-0.032574169337749,0.148511230945587,-0.069363526999950) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.009730466641486,-0.009339656680822,0.025175776332617,0.052846018224955,-0.015292637981474,0.049413748085499,0.060194276273251,0.126925960183144,0.003903867211193,0.031460367143154,-0.025497473776340,0.073043085634708,-0.011575330980122,0.015664920210838,0.044243320822716,-0.095680437982082) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.022917067632079,-0.033212278038263,-0.120650976896286,-0.050805658102036,0.096105873584747,0.096391990780830,-0.105121783912182,-0.109883256256580,0.041000604629517,-0.220701828598976,-0.087230019271374,-0.117630951106548,0.080165982246399,-0.001847971463576,0.021165816113353,-0.012628925032914) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.036968853324652,0.046332363039255,0.084411419928074,0.019569978117943,0.035186722874641,-0.096904702484608,-0.159781917929649,0.026503467932343,0.082861721515656,-0.176160484552383,-0.083156295120716,0.019424576312304,0.030991027131677,0.009024628438056,0.059230174869299,-0.093365922570229) * MODEL4_texOff(vec2(1,0));
res += mat4(0.010590087622404,-0.008008803240955,-0.004992528818548,-0.049052041023970,0.007421947084367,-0.064078710973263,-0.101186841726303,0.127402901649475,-0.011976994574070,0.090691253542900,-0.084256529808044,-0.137423753738403,0.039914950728416,0.160521894693375,0.084119126200676,-0.078474380075932) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.030289676040411,-0.101259417831898,-0.108071409165859,-0.093789786100388,0.045514151453972,0.033950578421354,-0.031626217067242,-0.042252108454704,0.036400955170393,0.111536644399166,0.004575051832944,-0.010635198093951,0.036724410951138,-0.004437557887286,-0.040407821536064,0.065179191529751) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.066069327294827,-0.112329185009003,-0.125362306833267,-0.062391810119152,0.137854307889938,0.113634787499905,0.015377544797957,-0.114749707281590,0.030600944533944,0.097972765564919,-0.011353594250977,-0.050271961838007,-0.190078049898148,-0.042734641581774,0.009620365686715,-0.010726674459875) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.155864849686623,-0.084352627396584,-0.024157673120499,0.003140734508634,0.004893884994090,-0.062331929802895,-0.009901613928378,-0.049529932439327,-0.065615192055702,0.142263501882553,-0.016985230147839,0.067491590976715,-0.030860820785165,0.058039333671331,0.043220888823271,0.011548915877938) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.092364169657230,0.026103509590030,-0.165393412113190,0.137835234403610,-0.061084080487490,-0.080208405852318,0.052092403173447,0.105213016271591,-0.087710514664650,0.115152277052402,-0.022810732945800,-0.058038230985403,0.137117132544518,0.160273253917694,-0.040433831512928,0.055922444909811) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.065152868628502,-0.005703190807253,-0.050188045948744,-0.140843197703362,0.029628649353981,-0.011926211416721,0.040241118520498,-0.075787469744682,0.033656276762486,0.021852806210518,0.092438600957394,-0.096489645540714,-0.065568000078201,0.000402074045269,0.039691939949989,0.096511438488960) * MODEL5_texOff(vec2(0,0));
res += mat4(0.134983882308006,0.033575795590878,0.043349716812372,-0.155064314603806,0.096012890338898,-0.015203584916890,-0.025106040760875,-0.166927054524422,0.110328331589699,-0.159428998827934,-0.024169057607651,0.057483565062284,-0.172353684902191,-0.023092465475202,-0.051960773766041,0.084000565111637) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.088709242641926,-0.057033557444811,-0.143185138702393,0.187288939952850,0.023376246914268,-0.085585199296474,-0.042099978774786,-0.042126592248678,-0.184448480606079,-0.029202712699771,-0.046357296407223,0.168906241655350,0.118045508861542,0.007816026918590,0.022064993157983,-0.015029604546726) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.012709775939584,-0.130352601408958,-0.053486958146095,-0.003432627068833,-0.211302936077118,-0.116413302719593,-0.043467592447996,0.288642346858978,-0.125619679689407,-0.190322458744049,0.025796147063375,0.190458297729492,0.333388388156891,0.135844305157661,0.091706551611423,-0.139558598399162) * MODEL5_texOff(vec2(1,0));
res += mat4(0.046204481273890,-0.087839260697365,0.050162114202976,-0.014301413670182,-0.084875240921974,-0.010528191924095,0.033830471336842,0.105773672461510,0.067289315164089,-0.100208543241024,-0.033633969724178,-0.064030162990093,0.177320525050163,-0.002435292117298,0.018049415200949,-0.065399117767811) * MODEL5_texOff(vec2(1,1));
res += mat4(0.001367257791571,0.003993515856564,0.001535300048999,0.001078164321370,0.021008679643273,0.179630160331726,-0.059521552175283,0.008523757569492,-0.048718135803938,0.130837410688400,-0.061392091214657,0.032687086611986,0.004446763545275,0.001035882160068,0.024498250335455,-0.050361301749945) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.004811848513782,0.003347836434841,0.001345281372778,0.001932992017828,-0.085317149758339,0.120398715138435,-0.036927241832018,-0.040192045271397,0.018902013078332,0.139818876981735,0.080125428736210,-0.047663964331150,-0.097850561141968,-0.006547137629241,0.028187790885568,0.071753747761250) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.002048059366643,-0.002306791720912,0.001185734989122,0.001696755643934,-0.095053516328335,0.142992019653320,0.081989198923111,0.066379919648170,0.033731535077095,-0.035862799733877,-0.002879179781303,0.006331408396363,0.004056647885591,0.026993468403816,-0.032353006303310,0.102621018886566) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.000058235124015,0.004199948161840,0.001793057424948,-0.001717717386782,-0.113100849092007,-0.004532808903605,-0.052949294447899,0.120450876653194,-0.089486867189407,0.027350192889571,-0.035675752907991,0.101116120815277,0.336005061864853,0.098102889955044,-0.003784069558606,-0.181162983179092) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.004928459413350,0.005005765706301,0.001717484090477,-0.000953014241531,0.044914174824953,0.152386248111725,0.080630205571651,-0.067035280168056,0.284276098012924,0.009025189094245,0.030458079650998,-0.133079379796982,-0.236024498939514,-0.047847688198090,-0.020985322073102,-0.015044934116304) * MODEL6_texOff(vec2(0,0));
res += mat4(0.003225847380236,0.000788187026046,0.000315471872455,-0.000287044735160,0.079966351389885,-0.000746975827496,-0.000188930222066,-0.041392993181944,0.051485825330019,0.078607566654682,-0.079884752631187,-0.096754238009453,0.078620016574860,-0.049091704189777,0.042198378592730,-0.023424215614796) * MODEL6_texOff(vec2(0,1));
res += mat4(0.000323514512274,0.008317415602505,0.001099546905607,-0.004306465853006,0.019320722669363,-0.172948241233826,-0.005552174523473,-0.125444516539574,-0.054668813943863,-0.039610285311937,-0.021926442161202,-0.159078732132912,-0.075879052281380,-0.004717874806374,-0.031311601400375,0.040973816066980) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.004435562994331,0.009191702120006,0.001615007990040,-0.004324452951550,0.028994763270020,-0.156954258680344,0.027998976409435,0.019466290250421,-0.245654374361038,-0.049735851585865,-0.011080674827099,0.028855387121439,0.096478454768658,0.054036051034927,0.034990854561329,0.014632251113653) * MODEL6_texOff(vec2(1,0));
res += mat4(0.003830378176644,0.006399553734809,0.000036555458792,-0.003717778017744,0.102953515946865,-0.086232975125313,-0.018839910626411,0.005322789773345,-0.018836386501789,-0.012720080092549,0.048962425440550,0.029986672103405,-0.051024861633778,0.075931377708912,0.018322067335248,0.012214662507176) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.749847054481506,0.038712374866009,-0.008786272257566,-0.087479054927826) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 2_2

vec4 hook()
{
vec4 res = vec4(0.024563489481807,-0.074118725955486,-0.010629680939019,0.000382263679057);
res += mat4(0.156051903963089,-0.030725155025721,-0.068227469921112,-0.138790816068649,-0.226275131106377,-0.059393126517534,0.028971616178751,0.177639216184616,0.010017226450145,0.058279670774937,-0.088809914886951,0.079065725207329,0.136238321661949,-0.041719194501638,0.008260881528258,0.030478449538350) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.043822415173054,-0.025782817974687,-0.050297230482101,0.011835474520922,-0.083950310945511,-0.013028388842940,0.167410567402840,-0.005019179545343,-0.140950813889503,0.151025325059891,-0.040895789861679,0.173944592475891,0.130048647522926,-0.133869439363480,0.113911218941212,-0.162720724940300) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.006686765700579,-0.017966022714972,-0.140976548194885,-0.046342346817255,-0.042354512959719,-0.024339117109776,0.175524696707726,-0.018262350931764,0.026744997128844,-0.043702188879251,0.001803272869438,0.087235711514950,-0.032548390328884,-0.074693098664284,0.059991482645273,-0.009491871111095) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.311445653438568,-0.056657940149307,0.050923425704241,0.176312878727913,0.136670634150505,-0.096373155713081,0.061073001474142,-0.409024804830551,-0.027606135234237,0.007285313680768,0.119554020464420,-0.002554441103712,-0.140318229794502,-0.113595180213451,-0.057613689452410,-0.128994017839432) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.012512184679508,-0.008800107054412,0.075058400630951,0.022109655663371,-0.018927508965135,-0.051898490637541,-0.300991147756577,0.184358045458794,0.020785996690392,0.140491396188736,0.064273305237293,-0.239491105079651,-0.111634820699692,0.121801443397999,0.006919628474861,-0.095985941588879) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.228041395545006,-0.090206772089005,0.083436578512192,-0.055242415517569,-0.035470213741064,0.374743759632111,-0.115409918129444,0.021362993866205,0.078664377331734,-0.003024756908417,0.100552387535572,0.176739960908890,-0.026623265817761,-0.052896276116371,0.038177397102118,0.017468139529228) * MODEL1_texOff(vec2(0,1));
res += mat4(0.067850075662136,-0.028147434815764,-0.136060595512390,-0.097816050052643,0.021819418296218,0.018843257799745,-0.110316678881645,0.215756446123123,0.047249250113964,0.025511251762509,0.031269151717424,0.042527969926596,-0.085507430136204,-0.088162675499916,-0.099146701395512,0.177680417895317) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.228807508945465,-0.057993598282337,-0.029682697728276,-0.049740016460419,0.027570148929954,-0.190596997737885,-0.119313463568687,-0.009355829097331,-0.001838909112848,0.023315850645304,-0.079562604427338,0.089563436806202,0.126568421721458,-0.009244210086763,0.085551403462887,-0.161535084247589) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.097207479178905,0.212540850043297,-0.082339160144329,0.015613487921655,0.075232759118080,0.022650204598904,0.047468587756157,-0.021445224061608,-0.072917573153973,-0.066347494721413,0.118673883378506,-0.025822576135397,0.004416950978339,-0.118287384510040,-0.071308210492134,-0.036747884005308) * MODEL1_texOff(vec2(1,1));
res += mat4(0.023552889004350,0.004786561708897,-0.009803140535951,0.031429968774319,0.018387312069535,0.139016330242157,-0.110433794558048,0.100626245141029,0.015056068077683,0.011973771266639,0.025474518537521,-0.074884682893753,0.010384183377028,-0.130296558141708,0.087003298103809,-0.033491618931293) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.083157725632191,-0.005299670156091,0.008271249011159,0.176951602101326,-0.006556160282344,0.068896092474461,0.014466455206275,-0.022130602970719,-0.066828452050686,-0.038274426013231,0.075315199792385,0.040099468082190,-0.080354519188404,-0.048562571406364,-0.127773135900497,-0.010164089500904) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.017084650695324,-0.046242516487837,0.133566170930862,0.064667321741581,-0.024398818612099,-0.023306665942073,-0.033892273902893,-0.011535982601345,-0.061322912573814,-0.175895050168037,0.005696496460587,-0.061158597469330,0.029624721035361,0.038903564214706,0.007263654377311,0.005309467203915) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.037826940417290,-0.063278570771217,0.003120974171907,0.047453489154577,-0.129879593849182,0.084891967475414,0.111586272716522,0.132233113050461,-0.074498288333416,0.010096325539052,0.097616441547871,0.273955136537552,-0.182241111993790,-0.108487851917744,-0.081168182194233,0.110266454517841) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.308778464794159,0.004130842164159,0.022762320935726,-0.158035039901733,-0.169847741723061,0.020062394440174,-0.020365476608276,0.121724843978882,-0.039540268480778,0.024258589372039,0.187651544809341,-0.034321870654821,0.183802336454391,-0.057055879384279,0.136091083288193,-0.315823107957840) * MODEL2_texOff(vec2(0,0));
res += mat4(0.100591383874416,-0.125492155551910,-0.024193329736590,0.005846135783941,-0.103733085095882,-0.216580048203468,-0.102045834064484,-0.049252320080996,-0.010463567450643,-0.078122697770596,-0.060664173215628,0.032829593867064,0.040720809251070,-0.257899254560471,0.098781578242779,-0.082298144698143) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.005678285378963,-0.104632280766964,-0.094257153570652,-0.120749481022358,-0.038804389536381,0.121691003441811,-0.016135182231665,-0.456674456596375,-0.073379538953304,-0.043424259871244,-0.075724124908447,-0.024019952863455,0.118993535637856,-0.001307397033088,-0.105786599218845,-0.230362802743912) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.044273890554905,0.002374114003032,-0.080298870801926,0.035686291754246,0.031268335878849,0.086581587791443,-0.332308709621429,-0.110785529017448,-0.075544305145741,-0.081128008663654,-0.019460694864392,-0.038454543799162,0.024705287069082,-0.028279572725296,-0.122788079082966,0.221242040395737) * MODEL2_texOff(vec2(1,0));
res += mat4(0.053323339670897,-0.062316525727510,-0.038642607629299,-0.061218120157719,0.010358225554228,-0.078627400100231,-0.435706853866577,-0.033435814082623,-0.032754875719547,0.071838587522507,0.005682231392711,0.016859862953424,0.068836435675621,0.009729341603816,-0.178481355309486,0.034840945154428) * MODEL2_texOff(vec2(1,1));
res += mat4(0.065764598548412,0.033502485603094,-0.002921147970483,-0.079035490751266,0.137158542871475,-0.073298655450344,-0.013748267665505,-0.041904378682375,0.028672927990556,-0.113261662423611,-0.043901219964027,-0.085388965904713,0.095451734960079,0.001942756585777,0.037536423653364,0.009918549098074) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.047414839267731,-0.065513819456100,0.013227203860879,0.063343390822411,0.019537661224604,-0.111504055559635,-0.090259894728661,0.092619441449642,-0.127090930938721,-0.020107729360461,-0.198758155107498,0.157612636685371,0.054586581885815,-0.006376245059073,-0.009696114808321,0.036597948521376) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.018140194937587,0.061808459460735,0.011512644588947,-0.105501927435398,-0.048581767827272,0.019039938226342,0.029141113162041,-0.032416269183159,-0.063742749392986,0.056851260364056,0.005720040760934,0.027131287381053,0.073373325169086,-0.064682677388191,0.054668873548508,-0.030606072396040) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.044927626848221,-0.082588739693165,-0.002044778317213,-0.030572248622775,0.086219139397144,-0.024357469752431,0.023731561377645,0.192030847072601,-0.013456344604492,-0.091955699026585,-0.033697903156281,0.168503507971764,-0.083166524767876,0.002452854765579,-0.024508327245712,0.004009784664959) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.098375596106052,0.050516422837973,0.039697926491499,0.006341005675495,0.006023455876857,-0.101101458072662,-0.021359710022807,-0.115818411111832,-0.001684822957031,0.000605085224379,-0.008026654832065,-0.074759587645531,-0.051237184554338,0.029598152264953,0.037650518119335,-0.044599242508411) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.028445683419704,0.067204028367996,-0.032031465321779,-0.043508224189281,-0.007204358000308,0.013229126110673,0.059151366353035,-0.090662829577923,-0.123966574668884,-0.032972984015942,0.070100262761116,0.015069629065692,-0.081127583980560,0.035285171121359,0.099052421748638,0.071741290390491) * MODEL3_texOff(vec2(0,1));
res += mat4(0.005768546368927,0.037626374512911,0.013596720062196,0.089196257293224,-0.047955024987459,0.050394367426634,0.015823127701879,-0.116264119744301,0.025402417406440,-0.022519161924720,-0.093831144273281,-0.054965857416391,-0.002585390815511,0.005365452729166,0.001940548652783,0.008306832052767) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.016314214095473,-0.180642530322075,0.017248911783099,-0.136323377490044,-0.044749207794666,0.045751798897982,-0.029942927882075,0.093740679323673,-0.014832050539553,0.128641247749329,-0.174630135297775,0.172352984547615,-0.082674361765385,0.051375489681959,-0.042403668165207,-0.033543527126312) * MODEL3_texOff(vec2(1,0));
res += mat4(0.008442619815469,-0.070067763328552,-0.090557157993317,0.045047435909510,-0.076444126665592,-0.090576045215130,-0.090980410575867,0.042320452630520,-0.075318910181522,-0.070211023092270,-0.021863166242838,0.123622730374336,-0.003755161538720,0.036911420524120,-0.171424657106400,0.042284011840820) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.066928453743458,0.033217899501324,-0.067085556685925,0.130570411682129,-0.089496999979019,-0.114826977252960,-0.047673337161541,-0.060555655509233,-0.076782032847404,0.046368092298508,0.027842126786709,0.017483714967966,0.115353122353554,-0.041884619742632,-0.089095681905746,-0.133843615651131) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.069267936050892,0.075026042759418,0.054591711610556,0.045389730483294,-0.087424002587795,-0.074867427349091,-0.120514959096909,-0.016546985134482,-0.011472074314952,-0.121008545160294,0.002411109162495,-0.001789681497030,0.001618654234335,0.046308822929859,-0.128253728151321,0.069146275520325) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.056420553475618,0.007376926951110,0.028957659378648,0.034672349691391,-0.019933894276619,-0.086145602166653,-0.061128117144108,0.028339492157102,-0.009230173192918,0.044075138866901,0.069766171276569,-0.041585046797991,0.073245801031590,-0.010280330665410,-0.048706337809563,-0.017364239320159) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.007889388129115,0.089219890534878,0.038289722055197,-0.032720927149057,-0.118841767311096,0.000258052139543,-0.048078242689371,0.184803724288940,-0.066440805792809,-0.089829742908478,0.013159525580704,0.000649401568808,0.036368634551764,0.049065921455622,0.067791692912579,0.051154382526875) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.075788706541061,0.111340552568436,0.144991710782051,-0.118432469666004,-0.077577076852322,0.026466501876712,0.068866588175297,-0.148678824305534,-0.110251180827618,-0.195502445101738,-0.026414791122079,-0.128754436969757,0.034943047910929,0.050819545984268,0.025948433205485,-0.037567880004644) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.021347256377339,-0.013662982732058,0.128954082727432,-0.041363932192326,-0.129306823015213,-0.070582672953606,-0.042328733950853,-0.049034867435694,-0.024341026321054,-0.046933546662331,0.039752498269081,-0.071716897189617,0.018041038885713,-0.028119422495365,0.017149465158582,-0.019666075706482) * MODEL4_texOff(vec2(0,1));
res += mat4(0.025304846465588,-0.042704939842224,-0.066501617431641,-0.081746928393841,-0.004522640723735,-0.047521643340588,-0.079215332865715,0.002735873218626,0.102678038179874,-0.107499733567238,0.076718457043171,-0.226128593087196,0.002520745154470,-0.007978267036378,-0.006938362494111,-0.110458418726921) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.024329867213964,-0.142411589622498,-0.035083133727312,0.014415031298995,-0.076883181929588,0.004811499267817,-0.184678852558136,0.171978205442429,-0.055809009820223,-0.184698611497879,-0.169235721230507,-0.029920825734735,-0.014723117463291,0.023222612217069,0.100908480584621,-0.038856834173203) * MODEL4_texOff(vec2(1,0));
res += mat4(0.021706359460950,0.027400277554989,-0.009740599431098,-0.002993410686031,-0.030786013230681,0.135542452335358,-0.115652576088905,-0.046721268445253,-0.003156340215355,-0.259472519159317,-0.118800304830074,-0.022755891084671,0.016953174024820,-0.011488491669297,0.118993677198887,0.028966559097171) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.088926993310452,-0.039239540696144,0.008259988389909,0.076690785586834,-0.014657421968877,-0.199563339352608,0.035917915403843,-0.045290518552065,0.174789741635323,0.024525150656700,-0.019273031502962,-0.054125182330608,-0.039944268763065,0.080982230603695,0.003678870154545,-0.014587921090424) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.106736265122890,-0.100963033735752,0.098819874227047,-0.023362148553133,0.068559192121029,0.065020084381104,-0.029978090897202,-0.010359439067543,0.008464855141938,0.097959376871586,0.082017660140991,-0.065459609031677,0.081128694117069,-0.108356826007366,-0.013227967545390,0.004288257565349) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.078447587788105,-0.091962940990925,0.013023631647229,-0.112707920372486,0.088774286210537,0.054138924926519,-0.032503072172403,0.024418296292424,-0.092249102890491,0.127799212932587,-0.004320393782109,-0.032898351550102,-0.019282290711999,-0.068036317825317,0.019291603937745,-0.011607367545366) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.172594964504242,0.054222211241722,0.021943930536509,-0.042590528726578,0.417770326137543,-0.119293019175529,0.049149669706821,-0.257631629705429,0.135300323367119,-0.122893027961254,-0.061717014759779,-0.016377663239837,-0.053173139691353,0.091110609471798,0.004659124184400,-0.015189963392913) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.006027141120285,0.062540233135223,-0.063451856374741,0.031162859871984,-0.069428585469723,0.031410139054060,-0.143936231732368,-0.054325055330992,-0.166560158133507,-0.098771348595619,-0.024312300607562,0.081106312572956,-0.249299854040146,-0.093098565936089,-0.032163415104151,0.052572984248400) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.015344201587141,0.052837044000626,-0.183056607842445,-0.016011012718081,-0.077949322760105,0.234704941511154,-0.082809075713158,0.057424649596214,-0.101727738976479,0.215878307819366,0.025407673791051,-0.082179434597492,0.009127064608037,0.082583636045456,-0.010914550162852,0.014675129204988) * MODEL5_texOff(vec2(0,1));
res += mat4(0.026359891518950,0.058025948703289,-0.021524414420128,0.045346084982157,-0.141875460743904,-0.076759777963161,-0.016419295221567,0.207453027367592,-0.051737662404776,-0.023253407329321,-0.016438981518149,0.085408158600330,-0.047498006373644,0.082387715578079,-0.003420890308917,0.043943088501692) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.142363488674164,-0.080983884632587,0.031546931713820,-0.189001798629761,-0.106849811971188,-0.065161213278770,-0.040848888456821,-0.068233087658882,-0.040675185620785,-0.077576033771038,0.194079920649529,-0.062202442437410,0.015946693718433,0.013875086791813,-0.027046252042055,-0.141975298523903) * MODEL5_texOff(vec2(1,0));
res += mat4(0.051941163837910,-0.038943424820900,-0.059079367667437,0.081916876137257,-0.015823788940907,0.041929550468922,0.074339039623737,-0.010517101734877,-0.119612105190754,-0.036652080714703,0.075269006192684,0.048789024353027,0.052313525229692,0.064901180565357,0.117151394486427,-0.017843395471573) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.001542103709653,0.006069220602512,-0.008672210387886,-0.011561519466341,-0.121638990938663,-0.019024988636374,-0.072364866733551,0.208374857902527,-0.014502799138427,-0.064218543469906,-0.079905495047569,-0.044983427971601,-0.025548376142979,-0.072909869253635,-0.019819231703877,-0.006237344816327) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.000439714785898,0.005082739982754,-0.012172524817288,-0.010908303782344,-0.006756049115211,0.070034459233284,0.023197172209620,0.024961646646261,-0.076741270720959,0.051364067941904,0.002580384258181,-0.039836607873440,0.010675237514079,-0.006018379703164,0.004723819904029,-0.037671159952879) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.000523229944520,0.004068007692695,-0.016140611842275,-0.008195474743843,-0.029145304113626,-0.079055055975914,0.143876731395721,-0.158942446112633,-0.037944108247757,-0.024052305147052,-0.031933870166540,-0.018455576151609,-0.028443954885006,0.045908477157354,-0.053903672844172,-0.031389888375998) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.002170183928683,0.005760287400335,-0.012581746093929,-0.010758390650153,0.278241246938705,-0.033005330711603,0.066557675600052,-0.108068637549877,0.040653757750988,-0.054035782814026,0.142480671405792,0.125139087438583,0.078761756420135,0.075495064258575,-0.086575478315353,0.036801215261221) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.001293306238949,0.004093748982996,-0.016962090507150,-0.011885763145983,0.103395894169807,-0.033306024968624,-0.129210397601128,0.042067110538483,0.022137217223644,-0.065036475658417,-0.068359002470970,-0.035040568560362,0.037539552897215,0.062530525028706,0.257504642009735,-0.121510513126850) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.001427504583262,0.003028637729585,-0.018246399238706,-0.014002798125148,-0.025445848703384,0.141508013010025,-0.152079135179520,0.055820796638727,0.028962325304747,0.088329382240772,-0.048631355166435,0.040594000369310,0.044498533010483,-0.091694317758083,-0.007651460822672,-0.075577601790428) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.000401623459766,0.007176673505455,-0.011577912606299,-0.012371615506709,0.054954282939434,-0.038199994713068,0.008413244038820,-0.014526211656630,0.016303909942508,0.020134493708611,0.067463725805283,-0.111546382308006,-0.037451546639204,0.058071933686733,0.027215531095862,0.076100781559944) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.000210785408854,0.005684151314199,-0.013879946433008,-0.016948929056525,-0.007713748607785,0.014917916618288,-0.021423654630780,0.096468910574913,-0.003197960555553,0.090030819177628,0.065335080027580,0.117028087377548,0.041927352547646,0.025698453187943,-0.008304643444717,-0.044308263808489) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.001011451706290,0.005156421102583,-0.014035111293197,-0.015259489417076,-0.061092741787434,-0.001518038799986,0.145293310284615,-0.060453943908215,-0.012972118332982,-0.052893679589033,-0.000071497823228,-0.031679637730122,0.050000239163637,-0.118089199066162,0.014666142873466,-0.037139926105738) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.024111602455378,-0.061541657894850,-0.072870612144470,-0.162073090672493) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 2_3

vec4 hook()
{
vec4 res = vec4(0.160208299756050,-0.396047145128250,-0.118061043322086,0.049702927470207);
res += mat4(0.038444630801678,-0.040257327258587,-0.005397100932896,0.032636303454638,-0.089483901858330,0.004250356927514,-0.023179762065411,-0.007425185292959,-0.017744710668921,0.022972015663981,-0.029642261564732,0.085000827908516,0.006277990061790,-0.015235782600939,-0.029583817347884,-0.067148186266422) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.117836333811283,-0.039958864450455,0.085979275405407,0.120062284171581,-0.069042950868607,0.085228532552719,0.028473291546106,-0.321936070919037,-0.125881716609001,0.038099016994238,-0.055895529687405,0.120250560343266,0.020126279443502,0.049419660121202,-0.051646705716848,-0.085212625563145) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.110434405505657,-0.014085934497416,0.012567916885018,-0.046113349497318,-0.022039690986276,0.035909850150347,-0.101220749318600,0.020073780789971,0.039770636707544,-0.019828272983432,-0.093758225440979,-0.016250245273113,-0.065619833767414,-0.003312920453027,0.024520011618733,-0.035630594938993) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.013917705975473,0.032954212278128,-0.057401485741138,-0.040036574006081,0.211321592330933,-0.020260650664568,-0.051582798361778,-0.097934558987617,-0.072732694447041,0.015550920739770,-0.053636562079191,0.086313761770725,-0.026538763195276,0.005198562052101,-0.008207021281123,-0.128671586513519) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.037423450499773,0.143692851066589,0.041022989898920,-0.046912714838982,-0.073353044688702,-0.330273956060410,0.191022381186485,-0.001660528243519,-0.141806304454803,-0.010923937894404,-0.071489870548248,-0.070434600114822,-0.198029682040215,-0.035735379904509,0.055097833275795,0.316322386264801) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.063384748995304,-0.060297142714262,-0.014589059166610,-0.039844896644354,-0.006215119268745,0.039255209267139,-0.108728900551796,0.255834996700287,0.023275442421436,0.026985900476575,-0.112924553453922,-0.123526141047478,-0.018319569528103,0.042156457901001,-0.085884086787701,0.145379230380058) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.083464860916138,0.095509625971317,0.061751406639814,-0.050487961620092,-0.054574422538280,0.037763275206089,-0.096191272139549,0.034180372953415,0.030959744006395,-0.001930618425831,-0.021130863577127,-0.041302096098661,0.044965688139200,-0.020019982010126,-0.001126770512201,0.028789386153221) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.137590304017067,0.003577525494620,-0.019021308049560,-0.023435350507498,-0.010126814246178,0.065006986260414,0.020217411220074,0.090716347098351,0.027850802987814,0.004791542422026,-0.088508911430836,-0.016097594052553,-0.232000574469566,-0.013166476041079,0.064959689974785,-0.122878089547157) * MODEL1_texOff(vec2(1,0));
res += mat4(0.081823453307152,0.331866800785065,-0.130126848816872,-0.131886214017868,0.078929588198662,0.020585784688592,-0.044268108904362,-0.096110999584198,-0.030896047130227,-0.033953256905079,-0.108340516686440,0.036300674080849,-0.107732988893986,-0.002407363383099,-0.109851501882076,-0.036204766482115) * MODEL1_texOff(vec2(1,1));
res += mat4(0.014766225591302,-0.003503424348310,0.017017900943756,0.045344378799200,-0.033678960055113,-0.046893101185560,-0.026592344045639,0.100330740213394,-0.097518041729927,-0.028951594606042,-0.077106729149818,0.093134365975857,0.037523336708546,0.088896699249744,-0.028794849291444,-0.039599232375622) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.021673360839486,-0.083996027708054,0.008695644326508,0.066327139735222,0.001008249819279,0.029453361406922,0.118305921554565,0.003596289549023,-0.122511498630047,-0.012910514138639,-0.047381632030010,0.039471618831158,-0.052226338535547,0.020083256065845,0.028277238830924,0.036536436527967) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.041934706270695,0.019244533032179,-0.009986424818635,-0.130391076207161,-0.002942607039586,-0.021615982055664,0.047594003379345,0.037062928080559,-0.034862063825130,-0.023983785882592,0.049378108233213,-0.039421640336514,0.100292541086674,0.094215787947178,-0.176833793520927,-0.139818683266640) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.013418872840703,-0.003519189311191,0.137067466974258,-0.010758385993540,-0.355114310979843,0.010288542136550,-0.034247964620590,0.036684274673462,-0.069530509412289,0.024522567167878,-0.059080872684717,-0.014959095977247,-0.030353644862771,-0.045944515615702,0.000822770816740,-0.051027223467827) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.042275056242943,0.055565744638443,0.069080062210560,-0.099719680845737,-0.328551262617111,0.045173536986113,-0.020471503958106,-0.082154646515846,0.081973806023598,-0.066822759807110,0.063539154827595,0.080577559769154,0.112478405237198,0.129903301596642,-0.007401619572192,-0.356366664171219) * MODEL2_texOff(vec2(0,0));
res += mat4(0.129370197653770,-0.007564235944301,0.194318100810051,-0.141764685511589,-0.109830319881439,-0.052383780479431,0.102519400417805,-0.138544157147408,-0.108144842088223,-0.024891803041101,-0.085281141102314,0.018249766901135,0.032356590032578,-0.100918456912041,-0.090955913066864,-0.011900668963790) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.011606400832534,-0.041415132582188,-0.000413687608670,0.127113074064255,-0.053361661732197,-0.031343948096037,0.046577606350183,-0.038414359092712,-0.073184236884117,-0.076858878135681,-0.002022987930104,0.073980763554573,-0.076125837862492,0.046847451478243,0.020299971103668,-0.136120662093163) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.040966928005219,0.008494268171489,-0.094727404415607,-0.079672999680042,-0.064475603401661,-0.174210906028748,-0.007391987834126,0.030506988987327,0.136640384793282,-0.014525801874697,0.059690032154322,-0.002056488301605,0.037104737013578,-0.048120457679033,0.009349795989692,0.092368796467781) * MODEL2_texOff(vec2(1,0));
res += mat4(0.007522744126618,-0.052960455417633,-0.061167262494564,0.058342438191175,-0.074116021394730,-0.091810844838619,0.001072684768587,0.006602334789932,0.090956427156925,0.076286666095257,-0.077191062271595,-0.048351593315601,0.069466993212700,0.027539586648345,0.067060552537441,0.003667135257274) * MODEL2_texOff(vec2(1,1));
res += mat4(0.028720242902637,-0.079049095511436,0.036588113754988,-0.061491776257753,-0.098500929772854,-0.044896297156811,-0.092697702348232,-0.016716774553061,0.074535101652145,0.094913601875305,-0.016143796965480,-0.043874397873878,0.021577248349786,-0.056009389460087,-0.042813926935196,-0.006866784300655) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.054926272481680,-0.034611370414495,-0.125318735837936,-0.025528393685818,0.048857197165489,0.124647878110409,-0.040823943912983,0.030099989846349,0.113826371729374,0.010999553836882,0.014685790054500,0.050567992031574,0.025419704616070,-0.021005924791098,-0.008878331631422,-0.035880267620087) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.096881970763206,-0.038142289966345,0.050380453467369,-0.045933015644550,0.027398603037000,0.046440564095974,0.008208908140659,0.075953237712383,0.111026450991631,0.057192221283913,-0.004181909374893,0.042768318206072,-0.054835241287947,-0.002244213363156,-0.047230150550604,-0.002526729367673) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.151561453938484,0.020540136843920,0.057180315256119,-0.006166399922222,-0.060588814318180,0.235516414046288,0.048251371830702,0.031197337433696,-0.046580992639065,0.021419903263450,-0.023077655583620,0.043386083096266,0.010704949498177,0.024071365594864,-0.069556072354317,0.017278579995036) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.114477559924126,-0.010713350027800,-0.084659077227116,0.082205362617970,0.074900127947330,0.611803293228149,-0.112438857555389,0.101107716560364,-0.189248770475388,-0.067532606422901,0.069909632205963,-0.246609479188919,0.045179244130850,-0.021676642820239,-0.045455075800419,0.056583207100630) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.056892111897469,-0.019361659884453,0.142991632223129,-0.029536418616772,0.061075285077095,0.214893102645874,-0.000320217688568,-0.063805803656578,-0.014311897568405,0.004764165729284,-0.113334432244301,-0.061146393418312,-0.046821776777506,-0.003135722596198,-0.000079214951256,0.090636923909187) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.022164491936564,0.073875889182091,0.070777639746666,0.018467683345079,-0.011393854394555,0.016907978802919,0.085669852793217,0.030400412157178,-0.113289624452591,0.039597116410732,-0.087626636028290,-0.035930432379246,-0.007160105742514,-0.025426274165511,-0.080294243991375,0.016930595040321) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.102169059216976,-0.021919000893831,0.022522948682308,-0.045366089791059,-0.025048648938537,0.199640765786171,-0.051284983754158,-0.073093771934509,0.009761013090611,0.021975180134177,0.074426449835300,-0.069179423153400,0.008482571691275,-0.026466244831681,-0.057834569364786,0.036126151680946) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.079997077584267,-0.049500882625580,0.043918516486883,0.153560131788254,-0.026183633133769,0.017008379101753,-0.034791350364685,-0.074825242161751,-0.063070788979530,-0.061087395995855,-0.108077883720398,0.258025288581848,-0.057165917009115,0.006545331329107,-0.037197299301624,0.091104067862034) * MODEL3_texOff(vec2(1,1));
res += mat4(0.017872625961900,-0.064450502395630,-0.025947282090783,0.095784544944763,0.068809956312180,0.071164853870869,-0.055437371134758,0.108966648578644,-0.004946986213326,-0.069273099303246,0.005435926839709,-0.035938229411840,0.003632185980678,-0.003574853297323,0.064899116754532,-0.035045422613621) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.032593205571175,0.071558140218258,-0.032537136226892,-0.023848261684179,0.052124746143818,-0.016236873343587,0.047062810510397,-0.098780795931816,0.008018794469535,-0.000832647900097,0.004551293328404,0.045749440789223,0.002763700438663,-0.058831527829170,0.000929328554776,0.072931088507175) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.038948405534029,-0.070319652557373,-0.079709686338902,-0.003786814399064,0.059878718107939,0.087242588400841,-0.158044695854187,0.074007391929626,0.021442597731948,-0.067291885614395,0.011280475184321,-0.005601237062365,0.202573344111443,-0.060616686940193,0.134986177086830,0.008108635433018) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.169841051101685,0.004197167698294,-0.097878761589527,-0.061551380902529,0.027152899652719,-0.003151690820232,-0.065445579588413,0.009393149986863,-0.164989501237869,-0.065985776484013,-0.035144567489624,-0.035506099462509,-0.115294456481934,-0.017649039626122,0.078959934413433,-0.098349981009960) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.054880734533072,0.011080686002970,-0.017266459763050,-0.306886970996857,-0.137829467654228,-0.147180542349815,0.089341588318348,-0.006249785423279,-0.142963960766792,-0.023683952167630,-0.037601921707392,-0.181768953800201,-0.145375311374664,0.046170484274626,0.094107963144779,0.065401531755924) * MODEL4_texOff(vec2(0,0));
res += mat4(0.048942536115646,-0.042500633746386,0.109049148857594,0.026003085076809,-0.040682233870029,0.005821648519486,-0.169111490249634,-0.049931399524212,0.025525767356157,-0.084085419774055,-0.131052955985069,-0.133652150630951,0.172097310423851,-0.018749983981252,0.076212435960770,0.047915410250425) * MODEL4_texOff(vec2(0,1));
res += mat4(0.020240757614374,-0.033980920910835,0.041478499770164,0.093553692102432,0.064399227499962,-0.005820912308991,0.015289335511625,-0.014092292636633,0.059201084077358,-0.040840126574039,-0.007190526463091,-0.084655240178108,-0.011329003609717,-0.015067387372255,0.084600806236267,-0.041577238589525) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.016132673248649,-0.057056110352278,-0.117545537650585,0.004064423963428,-0.073925018310547,-0.080498211085796,-0.028601307421923,0.052531618624926,0.087034203112125,-0.132529556751251,0.073092095553875,-0.008299013599753,0.024776095524430,0.029552653431892,0.036722317337990,-0.002656720345840) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.046251419931650,-0.018333822488785,0.052207775413990,-0.008215145207942,-0.088584817945957,-0.023711308836937,-0.129433825612068,-0.090324632823467,-0.025356363505125,-0.057968385517597,-0.076406180858612,0.017492916435003,0.062817372381687,-0.046393245458603,0.070975162088871,0.030271364375949) * MODEL4_texOff(vec2(1,1));
res += mat4(0.043159466236830,0.006123630795628,0.019052052870393,-0.020434847101569,0.045350626111031,0.123262017965317,0.101498514413834,-0.037020400166512,0.027020297944546,-0.003356059314683,-0.015453581698239,-0.053566928952932,-0.158338665962219,-0.003960567060858,-0.020163206383586,0.101301901042461) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.074521042406559,0.037309035658836,0.005730615463108,-0.015363177284598,-0.043537899851799,-0.058055236935616,0.040449034422636,-0.065958067774773,0.116306625306606,0.024974463507533,0.052073970437050,-0.011188944801688,0.038405664265156,0.010450243018568,0.022556876763701,0.018595274537802) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.063038125634193,-0.070056639611721,-0.004781988449395,-0.018408944830298,-0.122653916478157,0.127203330397606,-0.072474651038647,0.022586857900023,-0.045864187180996,0.007823877036572,-0.008066509850323,0.097236610949039,0.091530799865723,-0.029160436242819,0.086229622364044,-0.044092856347561) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.078213758766651,0.065190017223358,0.021693099290133,-0.040329288691282,0.029424671083689,0.223822712898254,0.085817769169807,-0.070952035486698,-0.125473469495773,0.097244940698147,0.033236596733332,-0.151765897870064,-0.017250923439860,-0.009664055891335,-0.088181585073471,0.176913946866989) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.092188581824303,-0.040140222758055,-0.042912296950817,0.055386241525412,0.042711436748505,-0.220316991209984,0.073510773479939,0.046971909701824,0.063459426164627,-0.020826496183872,0.061844687908888,0.041518054902554,-0.080699987709522,0.186145275831223,0.014516807161272,-0.062559142708778) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.009970370680094,0.083350598812103,-0.033956658095121,-0.009456344880164,-0.042169667780399,0.203573331236839,-0.138875573873520,0.037379942834377,0.091878198087215,0.157007187604904,0.033099364489317,0.038127355277538,0.033390890806913,0.022964764386415,0.190625220537186,0.066915214061737) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.027232537046075,0.009557990357280,-0.064462676644325,-0.040272016078234,-0.048096425831318,0.067142650485039,-0.019916953518987,-0.027069045230746,0.005422856193036,0.001029334496707,-0.075252935290337,0.046694487333298,-0.017953854054213,-0.031244244426489,-0.006319852545857,-0.000505402975250) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.119848787784576,-0.027757177129388,0.036893140524626,-0.033696409314871,-0.039280924946070,-0.092111960053444,-0.108704708516598,0.032504834234715,-0.081300586462021,-0.036481328308582,-0.019408730790019,-0.194309845566750,0.073959313333035,0.064470529556274,0.182927906513214,-0.111163824796677) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.054255995899439,-0.041273795068264,-0.092533126473427,0.069282799959183,-0.073655933141708,0.020554115995765,-0.106482341885567,-0.117655716836452,-0.093220084905624,0.011096948757768,-0.021925682201982,0.023809464648366,-0.013055704534054,0.020023293793201,0.270024776458740,0.080718390643597) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.002211559796706,-0.002345979446545,-0.005206697154790,-0.009399754926562,0.152916252613068,-0.030583957210183,0.027237884700298,0.124023318290710,0.119530476629734,0.001916123786941,-0.110999658703804,0.075955994427204,-0.039053123444319,-0.017271246761084,0.036807179450989,0.013025331310928) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.003917099442333,-0.002087417291477,-0.003234177362174,-0.008339415304363,-0.079922467470169,0.007437541615218,-0.003532788949087,-0.062100403010845,-0.106675408780575,-0.086013220250607,0.226941227912903,-0.067717298865318,0.018347848206758,0.060926415026188,0.024738971143961,-0.012260387651622) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.005943580996245,-0.002111643552780,0.001170620089397,-0.008233146741986,-0.028030088171363,-0.034310091286898,-0.026842277497053,-0.057940561324358,0.005912119057029,0.026045618578792,0.062594555318356,-0.041446320712566,-0.029610928148031,0.018498659133911,0.121658042073250,0.036088015884161) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.002157716080546,-0.007027626503259,-0.004692730493844,-0.010814133100212,-0.021614134311676,0.246606692671776,-0.022015210241079,-0.023723036050797,-0.177580684423447,0.086566276848316,-0.162991479039192,-0.306418269872665,0.028109772130847,-0.054201751947403,-0.024714428931475,0.136588081717491) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.000210226280615,-0.004870004486293,-0.002451051957905,-0.009332437999547,0.004818721208721,-0.029947783797979,0.102954700589180,0.013391531072557,-0.052924554795027,-0.076981671154499,0.280064702033997,0.037034228444099,-0.020659271627665,0.036520440131426,-0.030728548765182,0.091868855059147) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.002684112871066,-0.003155833808705,0.002278782194480,-0.009550496935844,0.053450182080269,0.190631285309792,-0.122348457574844,0.051174201071262,-0.061349105089903,-0.008124748244882,0.250508159399033,0.074877336621284,-0.013444762676954,-0.069110803306103,0.129756420850754,-0.162873521447182) * MODEL6_texOff(vec2(0,1));
res += mat4(0.007834541611373,-0.010584593750536,-0.002647771267220,-0.012371188960969,-0.067447498440742,0.067593395709991,-0.050770640373230,-0.069640152156353,0.105882301926613,-0.043512415140867,-0.018399812281132,-0.096837677061558,-0.115964487195015,0.015906067565084,-0.004136708565056,0.150379478931427) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.008578812703490,-0.006024183705449,-0.003661548951641,-0.011227719485760,0.005483176093549,-0.098037324845791,0.071630544960499,-0.006395659409463,-0.037803288549185,-0.156667962670326,0.096817761659622,0.264797449111938,-0.003604000899941,0.047167725861073,0.065946213901043,-0.104815334081650) * MODEL6_texOff(vec2(1,0));
res += mat4(0.004934773780406,-0.004185027442873,0.003432887140661,-0.011336073279381,0.066689893603325,-0.007679144386202,-0.023650320246816,-0.014289690181613,-0.010078966617584,0.008281526155770,0.034828029572964,-0.018428169190884,0.064945727586746,-0.006989053450525,-0.075618773698807,-0.001875844202004) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.155812203884125,0.041948441416025,0.016010779887438,0.569836139678955) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 2_4

vec4 hook()
{
vec4 res = vec4(-0.416905850172043,-0.132718071341515,0.047870289534330,-0.024127334356308);
res += mat4(-0.080198042094707,-0.116480499505997,0.090721011161804,-0.028141751885414,0.092301532626152,-0.147634148597717,0.007871353998780,0.126150310039520,0.003462114371359,-0.057971362024546,0.037076923996210,-0.105925239622593,-0.005285327788442,-0.100979797542095,-0.064328610897064,-0.066173844039440) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.096439562737942,0.064497023820877,0.119300715625286,0.165605410933495,0.144363552331924,-0.162749409675598,-0.092212639749050,-0.228948280215263,0.023213574662805,-0.021211072802544,0.155369579792023,-0.016775052994490,0.008117634803057,0.093563884496689,0.012416178360581,-0.096032992005348) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.074723936617374,-0.112173348665237,-0.039399873465300,-0.020412165671587,0.016505828127265,-0.004240593872964,-0.022270571440458,0.007955085486174,0.009152743965387,-0.005404575727880,0.114993885159492,-0.092039890587330,0.028859928250313,0.038488976657391,0.077264077961445,0.043327637016773) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.026964211836457,-0.027879660949111,-0.090928494930267,-0.134837865829468,0.046519529074430,0.035082954913378,0.148600608110428,0.184052839875221,-0.080180451273918,-0.027257777750492,-0.128652706742287,0.069509424269199,0.021371765062213,-0.099730484187603,-0.097334004938602,-0.105514600872993) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.099553935229778,-0.149568632245064,0.159608528017998,-0.021886840462685,-0.228283643722534,-0.026420146226883,0.142381414771080,0.110400870442390,0.045766454190016,-0.063878722488880,0.047988161444664,-0.079969033598900,0.039374727755785,-0.082153066992760,-0.034440163522959,0.182682260870934) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.012704263441265,-0.057404536753893,0.213532045483589,0.091978058218956,-0.022168708965182,-0.149797633290291,-0.101542741060257,-0.290581792593002,-0.001281475066207,0.003611688734964,-0.090825721621513,-0.010426733642817,0.088888533413410,-0.029447793960571,-0.058617297559977,-0.236601606011391) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.063942477107048,-0.019546207040548,0.112290062010288,0.048280991613865,0.059440422803164,0.047442901879549,-0.134986609220505,0.008637795224786,-0.014500051736832,0.015549840405583,0.033476769924164,0.073455885052681,-0.110678106546402,0.007276317570359,-0.031048282980919,-0.085905320942402) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.026417052373290,-0.070625811815262,0.076452821493149,0.039265975356102,-0.093495182693005,0.038974214345217,-0.125124782323837,0.078582376241684,0.000065335989348,-0.094188168644905,0.105024240911007,-0.018167659640312,0.000137954601087,0.144092574715614,0.059367194771767,0.045199155807495) * MODEL1_texOff(vec2(1,0));
res += mat4(0.119918845593929,-0.143669903278351,-0.006761396303773,0.002218595705926,-0.100174203515053,-0.079214408993721,-0.001885472447611,-0.039600901305676,-0.046301692724228,0.095559753477573,0.008082984946668,-0.037440463900566,-0.058114230632782,0.036140948534012,-0.043572720140219,-0.094559997320175) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.041152678430080,-0.107710994780064,-0.158362448215485,0.066930152475834,0.023027257993817,-0.100040562450886,-0.050954505801201,-0.192970722913742,-0.002188323764130,-0.008116211742163,-0.183377653360367,0.022233415395021,0.056624058634043,-0.024456711485982,-0.003906723577529,0.075010493397713) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.044957496225834,0.029400292783976,-0.022346235811710,-0.019421003758907,-0.127723470330238,0.009446972049773,0.100781567394733,0.050404280424118,0.043762840330601,-0.043758489191532,0.106840111315250,0.053917784243822,-0.078916028141975,0.050106670707464,0.062973074615002,0.090241625905037) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.062104698270559,-0.056947525590658,-0.114646524190903,-0.176787689328194,-0.082832217216492,-0.078380852937698,0.059111233800650,0.012110873125494,0.063004568219185,-0.055832512676716,-0.075860179960728,0.105936847627163,-0.062106974422932,0.003640098264441,-0.043935790657997,0.002974600996822) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.041289757937193,-0.071570292115211,-0.023947400972247,0.007555234711617,0.034409254789352,-0.110777564346790,-0.151899427175522,0.102389611303806,0.065238878130913,0.020123422145844,-0.041667252779007,-0.052318103611469,0.031266614794731,-0.083215318620205,0.216856822371483,-0.031131470575929) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.008154609240592,0.084018453955650,0.042860023677349,0.193366155028343,0.170317575335503,-0.043649572879076,-0.078479826450348,-0.311947673559189,-0.115957744419575,-0.076513633131981,-0.063923068344593,-0.054685693234205,0.145741939544678,0.040811967104673,-0.242998048663139,-0.129643455147743) * MODEL2_texOff(vec2(0,0));
res += mat4(0.016578806564212,-0.016167651861906,-0.040400303900242,-0.050200667232275,0.005609580781311,-0.127277523279190,0.073134481906891,0.110040508210659,0.070354342460632,0.021502777934074,0.018403146415949,0.106729052960873,-0.080434717237949,0.102527089416981,0.201671451330185,0.138873592019081) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.077766418457031,0.026380646973848,0.045557010918856,0.022770404815674,0.032511610537767,-0.011170058511198,0.079022526741028,0.093067407608032,-0.011702725663781,0.009979215450585,0.066975668072701,0.068957775831223,0.032320681959391,0.049295611679554,-0.150372371077538,0.056622929871082) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.021298898383975,0.162509128451347,-0.036014690995216,0.002755993511528,0.038838900625706,-0.037142444401979,-0.153506085276604,0.044601112604141,-0.029353834688663,-0.048526249825954,-0.022668212652206,0.088652186095715,-0.031469255685806,0.040040723979473,0.031530667096376,-0.193377152085304) * MODEL2_texOff(vec2(1,0));
res += mat4(0.009634536691010,0.011779770255089,-0.037727192044258,0.027385307475924,-0.002012999728322,-0.056432235985994,-0.060358110815287,-0.116910099983215,-0.015448356047273,-0.041010599583387,-0.063083298504353,0.022134335711598,0.067335806787014,0.033353753387928,-0.010916636325419,0.129390612244606) * MODEL2_texOff(vec2(1,1));
res += mat4(0.094547636806965,-0.096525274217129,0.034638620913029,-0.133936673402786,0.069539360702038,-0.007890372537076,-0.103030808269978,-0.140621617436409,0.003501465544105,0.021483372896910,0.063128218054771,-0.003602190176025,-0.047541238367558,0.018394073471427,-0.020124392583966,-0.037456274032593) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.066587336361408,-0.137178033590317,0.007461561821401,0.057832814753056,-0.105031557381153,0.167407840490341,0.198410183191299,0.086437381803989,0.010490132495761,0.026615727692842,0.018205834552646,0.157803341746330,0.023826576769352,0.056421827524900,0.024022359400988,0.000240026376559) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.056376535445452,0.006802981253713,-0.149525508284569,-0.019580649212003,-0.111709438264370,0.028780151158571,0.001643247436732,0.107133850455284,0.028588293120265,-0.172689825296402,-0.231654912233353,-0.069826737046242,-0.028123412281275,0.001252009999007,-0.003476908197626,0.055298082530499) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.021552545949817,0.037286303937435,0.071437232196331,-0.166657328605652,-0.026154708117247,-0.068026602268219,-0.127421289682388,-0.021855171769857,-0.033979233354330,0.073140941560268,0.108213543891907,-0.056736554950476,0.013657422736287,-0.009022222831845,-0.005181378684938,0.011981151998043) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.077643066644669,-0.072187900543213,-0.131888926029205,0.142838910222054,0.420357346534729,0.078201510012150,-0.091767504811287,-0.433479309082031,0.010602274909616,-0.056932531297207,0.035394761711359,-0.141805306077003,0.009349606931210,-0.079267635941505,-0.050821583718061,-0.061493203043938) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.070904381573200,-0.083756051957607,-0.095933139324188,-0.082877948880196,0.262940883636475,0.165383100509644,0.132604598999023,0.193237692117691,0.099953390657902,0.039473071694374,0.036554098129272,0.124442726373672,-0.068361528217793,0.030339682474732,-0.044887945055962,-0.056225035339594) * MODEL3_texOff(vec2(0,1));
res += mat4(0.093281634151936,-0.033715777099133,-0.035717476159334,-0.038213763386011,-0.150788143277168,-0.085780031979084,-0.042530141770840,0.044772651046515,0.054118156433105,0.102440416812897,-0.027545863762498,0.001319785020314,-0.012860854156315,-0.037312336266041,0.034788548946381,0.008381964638829) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.011089459992945,0.046448908746243,-0.144584342837334,-0.085016340017319,0.182475715875626,-0.065362311899662,0.034670565277338,-0.092660680413246,0.018251445144415,0.003350173588842,0.052481386810541,-0.038113702088594,0.038037713617086,-0.099980726838112,0.001066284952685,0.039026688784361) * MODEL3_texOff(vec2(1,0));
res += mat4(0.101630181074142,-0.053358882665634,-0.065808981657028,0.039450176060200,-0.079455509781837,-0.008211230859160,0.038432382047176,0.068106703460217,0.120582446455956,0.038963034749031,0.129329070448875,0.051514863967896,0.044219709932804,-0.003321638330817,-0.078664943575859,0.068718016147614) * MODEL3_texOff(vec2(1,1));
res += mat4(0.036379974335432,-0.007445829454809,-0.104606226086617,0.030208893120289,0.040986623615026,0.034268606454134,0.009560484439135,0.138070389628410,-0.096095822751522,-0.042456943541765,0.106198363006115,0.055966876447201,-0.036694299429655,-0.065746597945690,0.027123255655169,-0.033497352153063) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.025194279849529,-0.064142160117626,-0.177579835057259,0.036723561584949,0.053799226880074,0.122228033840656,0.279754936695099,0.196841299533844,-0.135846152901649,0.041692040860653,0.022853659465909,-0.086749829351902,0.149640500545502,0.047110829502344,0.050924591720104,0.021959319710732) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.052308972924948,-0.126573696732521,0.071345657110214,0.009639134630561,-0.049512740224600,0.009839412756264,-0.214232191443443,0.101648002862930,0.074872612953186,-0.009961904957891,-0.113092698156834,0.033836495131254,0.011224362067878,-0.065137535333633,0.069068804383278,-0.111734308302402) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.032057285308838,0.021677076816559,0.002954021561891,-0.004928785376251,-0.168746918439865,0.042854115366936,-0.143756195902824,-0.158150047063828,-0.014106959104538,-0.009748291224241,0.085723921656609,-0.029998855665326,0.055808953940868,-0.047683916985989,-0.014009045436978,0.043292429298162) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.035566139966249,0.005987508688122,-0.092926450073719,0.002929375739768,-0.240812182426453,0.011949567124248,0.035577755421400,-0.058459911495447,-0.008974343538284,-0.118435189127922,0.068711720407009,0.041946072131395,0.037526737898588,-0.057435493916273,0.014293865300715,0.086418002843857) * MODEL4_texOff(vec2(0,0));
res += mat4(0.021917352452874,-0.000465565302875,0.038468994200230,0.038828734308481,0.089554347097874,0.173128411173820,0.031663689762354,0.291548430919647,0.108573742210865,-0.088800847530365,-0.003423847490922,-0.003095573745668,-0.041472390294075,-0.017576405778527,0.098844580352306,-0.130685389041901) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.026262721046805,0.046256676316261,0.153268083930016,0.127539098262787,-0.095404438674450,0.077286936342716,0.085642576217651,-0.162669107317924,-0.064297035336494,0.022280110046268,0.002711843000725,-0.067893721163273,0.001476289937273,0.027819180861115,0.042075250297785,-0.044356808066368) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.010139973834157,0.079439729452133,-0.081849291920662,-0.136212050914764,-0.064932547509670,0.160497754812241,-0.169235765933990,-0.066379271447659,-0.075257815420628,0.018834779039025,-0.080774739384651,-0.051778655499220,0.021229682490230,-0.003360113361850,0.026667203754187,-0.098628453910351) * MODEL4_texOff(vec2(1,0));
res += mat4(0.041978605091572,0.036999560892582,-0.007201284635812,-0.152319401502609,-0.068057939410210,0.108867265284061,-0.106911920011044,0.081715099513531,0.114044941961765,0.072244003415108,-0.153257876634598,-0.013676313683391,-0.046618219465017,-0.045288577675819,0.042524818331003,-0.074453726410866) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.010356168262661,0.105584874749184,-0.013739027082920,0.068349495530128,-0.029161423444748,-0.003103544004261,-0.074153281748295,0.095638364553452,-0.066805846989155,0.001082045608200,-0.152712076902390,-0.069774523377419,0.029648877680302,0.055792734026909,-0.067200310528278,-0.001297690323554) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.049606766551733,-0.001014213426970,-0.130218625068665,-0.036559481173754,-0.039173282682896,-0.040938615798950,-0.129620119929314,-0.093381702899933,-0.068240344524384,-0.040552243590355,0.151762515306473,-0.058289967477322,0.075152695178986,0.016320837661624,-0.019327439367771,0.092539981007576) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.005940502975136,-0.016922144219279,0.109031192958355,-0.093012250959873,0.010976742953062,-0.110661216080189,0.185614228248596,-0.044563822448254,-0.007921028882265,-0.036710850894451,0.256370246410370,0.133926555514336,0.093369618058205,0.050565138459206,-0.022030111402273,-0.057900298386812) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.056580055505037,0.037909667938948,-0.007154321298003,0.230533987283707,-0.064057767391205,0.057075537741184,-0.089997440576553,0.148522898554802,0.021869961172342,-0.046997256577015,-0.033153992146254,0.061508368700743,-0.046636406332254,0.025954464450479,0.011379627510905,-0.078620508313179) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.060406535863876,0.150159150362015,-0.098595403134823,0.048924792557955,-0.088549070060253,-0.032673966139555,0.075023770332336,-0.083765700459480,0.033518481999636,-0.058977387845516,-0.011001141741872,0.061307255178690,0.130920141935349,0.133083328604698,-0.084289960563183,0.029081853106618) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.011463627219200,0.072970271110535,-0.198356702923775,-0.098268888890743,0.007665953598917,-0.077263921499252,-0.029355242848396,-0.077469192445278,-0.060545805841684,-0.026888038963079,-0.026900527998805,-0.153141826391220,-0.064833618700504,-0.002874189289287,0.052958540618420,0.149234071373940) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.020738933235407,0.020645488053560,-0.071936003863811,0.243831247091293,-0.063513346016407,0.107218101620674,-0.074547223746777,-0.062277548015118,0.024112254381180,0.163853585720062,-0.028655240312219,-0.117402158677578,-0.010434160009027,-0.010260937735438,0.056295517832041,0.052194975316525) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.035522282123566,0.023675335571170,0.082964025437832,0.133511632680893,-0.046380244195461,0.028310047462583,-0.137458369135857,0.108315348625183,-0.023413611575961,-0.019892413169146,-0.120151542127132,-0.009916882961988,0.097646594047546,0.093876324594021,0.120620608329773,-0.032891817390919) * MODEL5_texOff(vec2(1,0));
res += mat4(0.074320226907730,0.047818280756474,-0.005320720840245,-0.038724198937416,0.071657106280327,-0.058923389762640,0.101365804672241,-0.024884674698114,-0.041703503578901,0.013985658995807,0.143020078539848,0.004623744636774,-0.010886863805354,0.033694524317980,0.045486755669117,-0.064388461410999) * MODEL5_texOff(vec2(1,1));
res += mat4(0.002535616979003,-0.004201878327876,-0.002519052242860,0.002419206779450,-0.021971156820655,-0.003055033739656,0.005443741101772,0.048901192843914,0.046805854886770,-0.091922573745251,0.052818283438683,0.093021005392075,0.009820993989706,-0.007684268057346,0.044230155646801,-0.045913878828287) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.001093690749258,-0.005658281035721,-0.006496423389763,-0.002738559618592,0.005244668573141,-0.019541667774320,-0.103573858737946,-0.052552387118340,0.025205446407199,-0.046362288296223,-0.124514073133469,-0.031338859349489,-0.018414342775941,-0.053160216659307,0.091499105095863,0.072612501680851) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.001867135171779,-0.006157455034554,-0.006722330581397,-0.010316244326532,0.030655791983008,-0.075824871659279,0.090259313583374,0.000090751345851,0.089987665414810,-0.142293065786362,0.009031257592142,-0.040306907147169,-0.037041675299406,0.014412206597626,0.032723650336266,0.133439764380455) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.002343325177208,-0.000764733413234,-0.000412827153923,0.002629498019814,0.072226457297802,-0.018896734341979,-0.069449864327908,0.122089400887489,-0.014570226892829,0.012172393500805,-0.087791532278061,-0.003902559168637,-0.026851041242480,0.021409362554550,0.061783552169800,-0.010008289478719) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.000244550319621,-0.004446966107935,-0.003871433902532,-0.002375620882958,0.018493074923754,0.037827577441931,-0.067790441215038,-0.180591955780983,-0.028447011485696,-0.114175580441952,0.152062952518463,-0.061822731047869,0.120845630764961,0.045778356492519,-0.016462193801999,-0.101130329072475) * MODEL6_texOff(vec2(0,0));
res += mat4(0.002534824889153,-0.007318095769733,-0.003144593443722,-0.005861944053322,-0.047353263944387,0.009488317184150,-0.144880324602127,-0.002782715251669,-0.081269286572933,-0.058469254523516,-0.083716519176960,0.010932441800833,0.041376784443855,0.134179636836052,0.011072284542024,-0.031732808798552) * MODEL6_texOff(vec2(0,1));
res += mat4(0.000205464835744,-0.003249538596720,0.002438022056594,0.000063105282607,0.053345456719398,0.100323311984539,-0.097798019647598,-0.059351116418839,-0.029414722695947,0.068775221705437,0.016932142898440,-0.039629001170397,-0.017495121806860,0.011281085200608,0.026210831478238,0.086552724242210) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.001425536582246,-0.004796025343239,-0.001242214813828,-0.003156916704029,-0.003618169110268,-0.041198473423719,0.069232456386089,0.055294197052717,0.001174775883555,0.067284427583218,-0.100722424685955,0.016958788037300,0.041755404323339,-0.085331045091152,-0.111555196344852,-0.056264117360115) * MODEL6_texOff(vec2(1,0));
res += mat4(0.001217415556312,-0.006962896324694,0.000343248946592,-0.006028069183230,0.033068537712097,-0.002865494927391,-0.020316068083048,0.006825550459325,-0.049169976264238,0.027402516454458,0.024935368448496,-0.024558147415519,0.011386819183826,-0.046666663140059,-0.053018167614937,0.023313596844673) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.006907922681421,-0.021744763478637,0.510472238063812,-0.213409408926964) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 2_5

vec4 hook()
{
vec4 res = vec4(-0.227282106876373,-0.172232687473297,-0.071502707898617,0.047549221664667);
res += mat4(0.039394985884428,0.027782279998064,0.061464767903090,0.055872868746519,0.005714811384678,-0.089899547398090,0.041722305119038,0.055531054735184,0.020885512232780,0.049561634659767,-0.083590365946293,-0.115569718182087,0.020011730492115,-0.027794601395726,-0.108148045837879,0.011807700619102) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.067492142319679,0.096335470676422,-0.016207404434681,0.064482502639294,0.040488373488188,-0.073646947741508,-0.118564836680889,-0.052421707659960,-0.023617651313543,0.040413569658995,0.046007905155420,-0.103927798569202,-0.119478292763233,0.000439415161964,0.042628508061171,0.017059059813619) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.004749595187604,-0.002819654066116,0.092997536063194,-0.075648792088032,0.027768790721893,0.000316973251756,0.071234762668610,0.002922902582213,-0.039918314665556,0.146122246980667,0.008310938253999,0.026819622144103,-0.084472171962261,0.138355210423470,0.053690802305937,0.007359398994595) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.045811731368303,-0.045723162591457,-0.097116723656654,0.006596848834306,-0.132404327392578,0.119139842689037,-0.012183260172606,0.208397656679153,0.031439028680325,-0.072071477770805,-0.030579909682274,0.077268205583096,-0.124002650380135,-0.012986863031983,0.151037767529488,0.003289864631370) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.010419272817671,0.008674454875290,-0.061005629599094,0.121710471808910,0.083099663257599,0.103113621473312,0.045292541384697,-0.511877715587616,-0.009684410877526,-0.041060123592615,-0.059943310916424,-0.171142026782036,-0.111286751925945,-0.102658696472645,0.131515026092529,-0.177251249551773) * MODEL1_texOff(vec2(0,0));
res += mat4(0.053222011774778,0.012301973998547,-0.088039420545101,-0.014014178887010,0.055964369326830,-0.139533609151840,0.048818327486515,0.207202196121216,0.024734899401665,0.086659580469131,-0.149909660220146,0.046320039778948,-0.078148871660233,0.005568672902882,0.003168083960190,0.139984428882599) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.014669289812446,0.121508255600929,-0.017610924318433,-0.055570844560862,-0.025574760511518,-0.077005378901958,-0.218854472041130,0.103988781571388,0.007011331152171,-0.029777783900499,-0.014320650137961,0.021378373727202,-0.028693431988358,-0.116724982857704,0.085645690560341,-0.186687588691711) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.001908097765408,0.300976902246475,-0.074372477829456,-0.052921198308468,0.035676293075085,-0.062758587300777,0.131319478154182,-0.058200225234032,-0.015954427421093,-0.017502779141068,-0.032955005764961,-0.043600484728813,0.076410070061684,0.009608912281692,-0.039658114314079,0.031255651265383) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.038429185748100,-0.105707041919231,0.090728200972080,0.072591878473759,0.001633378211409,-0.011377085000277,-0.065046317875385,-0.002407469088212,-0.000222092014155,0.025174919515848,-0.058351967483759,-0.094130568206310,-0.149488210678101,0.065860152244568,-0.045618928968906,0.025802148506045) * MODEL1_texOff(vec2(1,1));
res += mat4(0.059739530086517,-0.162906214594841,-0.006054612807930,-0.026517529040575,-0.001468531438150,0.135566920042038,0.023180250078440,-0.156360954046249,0.035669568926096,0.082669615745544,-0.016426131129265,-0.025874892249703,-0.002544099930674,-0.010371165350080,-0.026149915531278,0.051258765161037) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.003303027478978,-0.060307316482067,0.024715630337596,0.065625794231892,-0.004575842525810,-0.007678386755288,0.015567352063954,0.128306567668915,-0.013665513135493,-0.046530969440937,0.134591430425644,-0.028524750843644,0.059337008744478,0.112517163157463,0.073626838624477,0.078309498727322) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.016853429377079,-0.184796541929245,-0.067895174026489,0.021497352048755,0.056336689740419,0.010279893875122,-0.003005714854226,-0.053296547383070,0.000153172455612,0.009162606671453,-0.086367227137089,-0.076336644589901,0.049234237521887,-0.120702378451824,0.020036691799760,-0.031937234103680) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.050748426467180,-0.207454547286034,0.110375218093395,-0.138208135962486,0.194803789258003,-0.090768411755562,0.114321880042553,-0.285012692213058,-0.069747991859913,-0.000366285414202,-0.056258965283632,-0.033304989337921,0.191995263099670,0.041752330958843,0.019586188718677,-0.054518062621355) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.000367387459846,0.119009897112846,-0.005545807071030,0.169271141290665,0.058835379779339,-0.169336140155792,-0.000055830176279,0.168589428067207,-0.102222651243210,-0.001267634681426,0.051395848393440,0.108294956386089,-0.128199845552444,-0.217866063117981,-0.059058342128992,0.204221650958061) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.008882833644748,0.523548603057861,0.005320372525603,-0.117192246019840,-0.014305687509477,0.089920356869698,0.044571653008461,0.074778385460377,0.135323822498322,-0.000254838960245,-0.099001742899418,-0.067828431725502,-0.051954533904791,-0.064800880849361,0.105063855648041,-0.126994013786316) * MODEL2_texOff(vec2(0,1));
res += mat4(0.038148738443851,-0.257605373859406,0.043523166328669,-0.077860772609711,-0.395320713520050,-0.089800439774990,-0.135193303227425,-0.098597645759583,-0.025121888145804,0.010665177367628,-0.082554049789906,-0.073359057307243,-0.011091837659478,-0.031166093423963,-0.154540359973907,0.111296728253365) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.011600135825574,-0.066294677555561,-0.001140939653851,0.088670052587986,-0.027036929503083,-0.097105205059052,-0.069289922714233,-0.002307411748916,-0.044168520718813,0.069880388677120,-0.144379869103432,0.057859010994434,-0.116197727620602,0.046713102608919,-0.122994698584080,0.028116775676608) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.024357426911592,0.054421138018370,0.148787051439285,-0.058051969856024,-0.020995538681746,0.100270286202431,-0.000559919106308,-0.023818602785468,-0.022276530042291,-0.029433373361826,0.013374778442085,-0.058415427803993,0.017934208735824,-0.133477479219437,0.136452242732048,-0.037667583674192) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.016137327998877,0.085033334791660,0.040397591888905,-0.042935527861118,-0.344779044389725,-0.044243793934584,0.080288171768188,-0.068412005901337,-0.050001695752144,0.066568747162819,0.033362843096256,-0.008968311361969,-0.033503606915474,0.003217279445380,-0.024788916110992,0.008956191129982) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.046473637223244,0.072723902761936,0.071596667170525,-0.099710814654827,-0.145933717489243,0.088110111653805,-0.019396128132939,0.014781685546041,0.093546167016029,0.133688569068909,0.036511611193419,-0.068547509610653,-0.105304010212421,-0.005957598332316,0.122327789664268,-0.055746231228113) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.023707538843155,-0.023006692528725,0.060222283005714,0.039273314177990,-0.013419268652797,-0.110628671944141,0.040520377457142,-0.002075181109831,0.103536918759346,-0.054759293794632,0.104088291525841,0.030333980917931,0.033730354160070,-0.057756885886192,-0.073285289108753,0.056982941925526) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.024788478389382,-0.008665589615703,0.086905725300312,-0.107470273971558,0.294843226671219,0.105160355567932,0.126852557063103,-0.255749106407166,-0.045385546982288,-0.051786441355944,0.014570846222341,-0.059945072978735,-0.011527892202139,-0.012595009990036,-0.038184985518456,-0.065305270254612) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.071934856474400,0.111881583929062,-0.029081212356687,0.004276576451957,0.116484023630619,-0.072031773626804,-0.203360140323639,0.315510332584381,-0.223772615194321,0.020174711942673,0.019084703177214,0.175228253006935,0.004633526317775,-0.061371918767691,0.014008839614689,0.063149124383926) * MODEL3_texOff(vec2(0,0));
res += mat4(0.006971579045057,-0.066540613770485,0.039427217096090,-0.004304375965148,-0.025272667407990,-0.024378430098295,-0.085053935647011,0.062060542404652,0.004172263666987,-0.001793256727979,0.186886191368103,0.000038627815229,-0.146550565958023,-0.003347856458277,-0.078938417136669,-0.172436118125916) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.065677359700203,0.014152458868921,0.171183198690414,-0.101559579372406,0.136947557330132,0.139440998435020,0.100053124129772,-0.046943906694651,-0.246806070208549,-0.012306452728808,0.178686261177063,0.043290380388498,0.029967840760946,-0.000098243144748,0.006858647335321,-0.017919542267919) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.057372950017452,0.030628636479378,0.008648553863168,0.024145079776645,0.040933102369308,-0.049620136618614,-0.030889770016074,0.049462340772152,-0.027263799682260,-0.042790554463863,-0.103443183004856,0.149713695049286,-0.018580175936222,0.048402961343527,-0.001911611296237,0.019470470026135) * MODEL3_texOff(vec2(1,0));
res += mat4(0.120887443423271,-0.039695974439383,-0.158078610897064,-0.064184918999672,-0.038326106965542,0.028021935373545,0.021027449518442,-0.013806673698127,-0.000549604417756,0.043842218816280,0.046941660344601,0.063214272260666,-0.039161592721939,-0.002559603191912,0.047593101859093,-0.174047067761421) * MODEL3_texOff(vec2(1,1));
res += mat4(0.104255519807339,0.003913098946214,-0.078399129211903,0.064252279698849,-0.242327436804771,-0.010574981570244,-0.165805101394653,0.049841184169054,-0.024520013481379,-0.042240776121616,0.104077383875847,-0.007450042292476,0.020296171307564,0.081551149487495,-0.099131800234318,0.016505926847458) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.125283092260361,0.083643093705177,-0.042844068259001,0.047493707388639,0.049759030342102,-0.069876477122307,-0.006298578344285,-0.043387338519096,-0.055913787335157,0.001052365521900,-0.039031174033880,0.049942642450333,-0.031149290502071,-0.080466590821743,0.274765282869339,-0.078315906226635) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.009266534820199,0.025945087894797,-0.118909567594528,-0.068408519029617,-0.057918597012758,-0.033199459314346,-0.019045464694500,-0.083370253443718,0.032613802701235,-0.003627079073340,0.058695659041405,-0.079467616975307,0.011596663855016,-0.014837076887488,0.081324584782124,0.101086445152760) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.034127589315176,-0.029271356761456,0.005734761711210,0.212419509887695,-0.153434887528419,0.046593979001045,-0.120531223714352,0.074346140027046,0.223227173089981,0.126454755663872,-0.105061702430248,0.056919373571873,-0.024594919756055,0.025429381057620,0.002074631163850,0.073992848396301) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.004262385889888,0.000083869599621,-0.072351537644863,-0.193583026528358,-0.031783189624548,-0.098002463579178,-0.011682474054396,0.221929445862770,-0.244416117668152,-0.040704842656851,0.097635805606842,0.165298730134964,0.040560249239206,0.024401459842920,0.262075573205948,-0.039418160915375) * MODEL4_texOff(vec2(0,0));
res += mat4(0.041001640260220,0.086746789515018,-0.113024704158306,0.006532660685480,0.027401428669691,-0.072127558290958,-0.081509701907635,-0.132030338048935,0.051418632268906,-0.093026757240295,-0.034751448780298,-0.170957133173943,0.015572681091726,-0.015244601294398,-0.123281538486481,-0.015116808004677) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.001982685877010,0.007156770210713,-0.080611988902092,-0.034473467618227,-0.057399369776249,0.066348850727081,-0.308674067258835,-0.003227945417166,-0.245540782809258,-0.105992995202541,-0.106936484575272,0.051325686275959,-0.034113489091396,-0.005740895867348,0.086317561566830,0.004272324498743) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.009595999494195,-0.016281541436911,-0.174794569611549,-0.052494321018457,-0.022593133151531,0.074463225901127,-0.161334604024887,-0.026007654145360,0.000371576636098,-0.154987797141075,0.232205033302307,-0.097000755369663,-0.070619843900204,0.077234812080860,0.149865016341209,0.010493475943804) * MODEL4_texOff(vec2(1,0));
res += mat4(0.028381153941154,-0.008894343860447,-0.021143235266209,-0.008101778104901,0.061322957277298,-0.055109582841396,0.143070816993713,-0.027963871136308,-0.009288432076573,-0.138041183352470,-0.055649265646935,0.001788529334590,-0.071226805448532,-0.033931750804186,-0.075450986623764,-0.073011346161366) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.002010236494243,-0.110731989145279,0.015384512953460,-0.136195853352547,-0.186637848615646,0.138512998819351,-0.010936234146357,0.032914593815804,0.004804769065231,-0.015871582552791,0.016311047598720,-0.013326029293239,-0.099894821643829,0.059276483952999,-0.041423037648201,-0.023584300652146) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.014789902605116,-0.030198801308870,-0.046416334807873,0.086941197514534,-0.206647023558617,0.055949397385120,0.000526609772351,-0.023093508556485,0.041028216481209,-0.029565395787358,-0.049229543656111,-0.006102066021413,-0.017233574762940,-0.089360088109970,-0.007952308282256,0.053042788058519) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.018945274874568,-0.101253867149353,0.016190249472857,-0.016279628500342,-0.081024095416069,0.179104983806610,0.003890563035384,0.000669956207275,-0.029612185433507,-0.262821137905121,-0.041593767702579,-0.022501176223159,-0.013109117746353,-0.020794447511435,0.022392151877284,-0.022965122014284) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.047662556171417,-0.017100689932704,0.115606971085072,-0.040499310940504,-0.400849729776382,0.077561952173710,0.021757217124104,0.123430147767067,0.015413438901305,0.130245879292488,0.013748496770859,-0.026452582329512,-0.103774294257164,-0.019252764061093,0.086340807378292,0.003013828303665) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.040901623666286,-0.105439133942127,0.047583427280188,-0.101092740893364,-0.275229156017303,0.366484403610229,-0.141225233674049,-0.218502208590508,0.022967318072915,0.554743766784668,-0.134313911199570,-0.102097727358341,0.084556914865971,-0.091050677001476,-0.112346664071083,-0.075920164585114) * MODEL5_texOff(vec2(0,0));
res += mat4(0.016784256324172,-0.002334098564461,0.037124250084162,0.060138761997223,-0.121190100908279,0.001074490137398,0.047351736575365,0.079793587327003,-0.096629641950130,-0.294790685176849,0.036861829459667,0.169475883245468,-0.052541289478540,-0.031229516491294,-0.037298433482647,0.082679487764835) * MODEL5_texOff(vec2(0,1));
res += mat4(0.001945834024809,-0.025730893015862,0.025233084335923,0.034333951771259,-0.356123059988022,-0.002956517506391,0.004098723176867,-0.032918043434620,-0.001613700296730,-0.065901502966881,0.042217433452606,-0.045396018773317,-0.031993698328733,0.089784100651741,-0.030087208375335,-0.021314460784197) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.020956650376320,-0.024454079568386,0.037453249096870,0.021944442763925,-0.242473244667053,-0.033057916909456,0.210105225443840,0.013394167646766,-0.002202863106504,-0.176087513566017,0.224085494875908,0.040116615593433,0.065622217953205,-0.015881270170212,-0.000355954281986,-0.161324173212051) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.076570563018322,0.006073324009776,-0.244270354509354,-0.074650265276432,-0.117345802485943,0.081634081900120,-0.034413717687130,-0.032754447311163,-0.025419291108847,-0.152753949165344,-0.174237489700317,0.012878199107945,0.004426736384630,-0.072845265269279,0.032749205827713,0.000059726946347) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.006482582539320,-0.000497275730595,0.002070668851957,0.005115925334394,0.042381074279547,-0.021292036399245,-0.030877927318215,-0.075591444969177,-0.058142371475697,0.001837132964283,0.017024325206876,-0.075077846646309,-0.018419265747070,0.059625115245581,0.035788659006357,0.037553481757641) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.006309738848358,-0.001093304716051,0.002878787927330,0.005580119322985,0.108973786234856,-0.272899538278580,-0.048880860209465,-0.001764782587998,-0.022155871614814,0.089659214019775,-0.026396987959743,-0.010829363018274,-0.021672969684005,0.064552448689938,0.019320571795106,-0.129816383123398) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.007241016253829,-0.001335755339824,0.003413317725062,0.007155928760767,0.030350092798471,-0.052234448492527,0.066356614232063,-0.082075968384743,0.016221739351749,0.128134205937386,-0.039253231137991,0.024912241846323,0.049616456031799,0.053128097206354,-0.044912666082382,-0.029492238536477) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.011419871822000,0.000142770804814,0.002562605077401,0.003863289020956,0.002334293909371,-0.147468954324722,0.051754437386990,0.082878328859806,-0.006122221238911,-0.102702140808105,-0.071643605828285,0.031024165451527,0.061370141804218,-0.147585764527321,0.136848911643028,-0.183712691068649) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.009934090077877,-0.001316023524851,0.001742826309055,0.003908244427294,-0.006892294157296,0.287587940692902,-0.049601957201958,-0.014636533334851,-0.103586673736572,0.232022807002068,0.140805080533028,-0.089917637407780,0.082800112664700,-0.105061389505863,0.018435578793287,0.084332644939423) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.009674626402557,-0.000747793470509,0.000439493684098,0.006278072483838,-0.080492459237576,-0.078229628503323,-0.009711783379316,0.062525831162930,-0.042144276201725,0.037059962749481,0.064731173217297,0.028797160834074,-0.052625957876444,-0.026452278718352,-0.109024025499821,-0.004059033468366) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.012528030201793,0.001858175732195,0.004611475393176,0.003996865823865,-0.013079889118671,-0.127307057380676,-0.124304264783859,0.035613257437944,-0.063101932406425,0.060729511082172,-0.033216580748558,-0.049283705651760,-0.018590681254864,-0.038497120141983,0.062774144113064,-0.114812001585960) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.010609423741698,0.001086092204787,0.004034949932247,0.003712543752044,-0.025048464536667,0.070569634437561,-0.025050392374396,0.018370019271970,-0.039130389690399,-0.074250817298889,0.187691688537598,0.017313875257969,-0.028879016637802,-0.071980550885201,-0.044967588037252,0.150359526276588) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.010465188883245,0.001186068286188,-0.001585942343809,0.006536616943777,-0.033893521875143,0.003214753232896,0.063393697142601,0.050586972385645,0.040903735905886,0.035398431122303,-0.010591656900942,0.025668513029814,0.029031267389655,-0.041189368814230,-0.013156924396753,0.030924679711461) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.032929252833128,0.060480814427137,0.148998096585274,-0.035003054887056) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 2_6

vec4 hook()
{
vec4 res = vec4(0.059498362243176,-0.102273672819138,-0.028085976839066,-0.105026356875896);
res += mat4(0.021641649305820,-0.079626441001892,0.000932113325689,0.058826997876167,-0.052669156342745,0.182504415512085,-0.159085005521774,0.017428323626518,0.021472550928593,0.008718731813133,0.035230915993452,0.108385488390923,-0.113191001117229,-0.053906619548798,0.264916986227036,0.018697708845139) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.124592542648315,-0.054378923028708,-0.121500328183174,-0.007747142110020,0.076316915452480,-0.405093282461166,0.235133022069931,0.069408886134624,0.081858307123184,0.109073437750340,0.027515614405274,-0.116080299019814,-0.162079855799675,-0.047478623688221,0.165110364556313,0.047649994492531) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.045455172657967,-0.133212760090828,0.016385218128562,0.076093398034573,0.000081049685832,0.061481140553951,0.165486916899681,-0.071105428040028,0.150905564427376,0.012954195030034,-0.037899512797594,-0.011394604109228,-0.100690923631191,-0.027025658637285,-0.163113445043564,0.005674789194018) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.000110750574095,-0.004238360561430,-0.054436210542917,-0.055673055350780,-0.105518184602261,0.155601426959038,0.154628545045853,-0.080538421869278,0.017761133611202,-0.074688985943794,-0.077674940228462,0.057811796665192,-0.052504271268845,-0.214372470974922,0.147528842091560,-0.008401516824961) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.099611014127731,0.045738104730844,0.230607613921165,-0.028886878862977,0.320957362651825,-0.063844323158264,0.056468416005373,0.140680357813835,-0.111535675823689,0.157448261976242,-0.044183116406202,0.027598543092608,0.047030370682478,0.113120406866074,-0.064765907824039,-0.001555777038448) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.026055611670017,-0.022193061187863,-0.065103664994240,-0.061560481786728,-0.021522883325815,0.133312895894051,-0.215879559516907,0.122098848223686,0.070911057293415,-0.077420622110367,-0.022944839671254,0.038656275719404,0.050610382109880,0.014520568773150,-0.131397455930710,0.131177186965942) * MODEL1_texOff(vec2(0,1));
res += mat4(0.031258072704077,-0.025815995410085,0.001102683250792,-0.078027971088886,-0.050999898463488,0.000706652528606,0.032141368836164,-0.040910299867392,-0.012407544068992,0.069880127906799,0.084022186696529,-0.066874548792839,-0.018374020233750,-0.061357624828815,-0.148948177695274,0.006296301726252) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.221876308321953,-0.059659719467163,-0.066973820328712,0.076178543269634,-0.055818334221840,0.068812660872936,-0.190740644931793,-0.179655686020851,-0.001472233911045,0.099455408751965,-0.070690795779228,0.271379083395004,-0.017439467832446,-0.039287351071835,-0.137524828314781,-0.100764326751232) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.117143861949444,0.015716763213277,0.023580487817526,0.033770699054003,0.010244483128190,-0.002322061685845,0.009018924087286,0.155318900942802,0.008072827011347,-0.054311670362949,0.078954271972179,0.001066543278284,0.007740164641291,0.070265352725983,0.031590849161148,0.034281529486179) * MODEL1_texOff(vec2(1,1));
res += mat4(0.043187715113163,-0.159382820129395,-0.069089129567146,-0.031146302819252,0.008122910745442,-0.278260469436646,-0.007860297337174,-0.101595014333725,-0.020430728793144,0.004464065656066,0.002306793350726,0.006411724258214,0.003282387973741,0.229856312274933,-0.269970893859863,0.084000155329704) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.035854957997799,0.052138935774565,0.062224023044109,-0.023309852927923,-0.046940829604864,-0.056202545762062,-0.065098516643047,-0.000896352808923,0.023461492732167,0.099702775478363,-0.137816250324249,0.037813670933247,-0.099582783877850,-0.028816424310207,-0.179973140358925,-0.069649100303650) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.054766703397036,-0.001567598432302,0.168929427862167,0.028084879741073,-0.022377967834473,-0.063101574778557,0.021329365670681,0.032334677875042,-0.017794461920857,-0.015957310795784,0.003621755633503,-0.019518895074725,0.040950290858746,-0.098229192197323,0.306543231010437,0.006025376264006) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.084040209650993,-0.107469722628593,-0.116779468953609,-0.018900198861957,-0.027667202055454,-0.045108225196600,-0.142444506287575,-0.219243988394737,0.002020348561928,-0.203533038496971,-0.021076576784253,-0.083309911191463,0.084738910198212,0.182232320308685,-0.034852165728807,-0.042045399546623) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.124452531337738,-0.055059611797333,0.120057970285416,-0.028523137792945,-0.129674285650253,0.112531624734402,0.083674371242523,0.097848139703274,-0.159388273954391,-0.038846455514431,-0.146584242582321,0.050434384495020,-0.167205259203911,0.046647168695927,0.119409613311291,-0.017754020169377) * MODEL2_texOff(vec2(0,0));
res += mat4(0.351605594158173,-0.004601459018886,-0.204323276877403,0.032125536352396,0.000103493439383,0.037614293396473,0.049278236925602,-0.046344883739948,0.043074425309896,-0.046297244727612,0.076225794851780,0.009846807457507,0.040413238108158,0.050861712545156,0.096384577453136,0.090232841670513) * MODEL2_texOff(vec2(0,1));
res += mat4(0.048830628395081,0.037133812904358,-0.018494596704841,-0.022238006815314,0.131342351436615,-0.070374242961407,0.125734239816666,-0.108300320804119,-0.085697948932648,-0.068537816405296,-0.007732258178294,0.071517765522003,-0.107479989528656,0.174405649304390,0.242799744009972,-0.120964676141739) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.018018033355474,-0.014383009634912,0.080357469618320,-0.010589602403343,-0.052654448896646,-0.056779980659485,0.070237845182419,0.124597102403641,0.008255353197455,-0.148956224322319,0.019653225317597,0.045446213334799,0.122563935816288,-0.250016272068024,0.156237319111824,0.124200850725174) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.179591760039330,0.020924055948853,-0.000091152433015,-0.002404450206086,-0.008240738883615,0.015431462787092,-0.024466322734952,0.068276487290859,-0.042213823646307,0.015719467774034,-0.075628273189068,-0.031552158296108,-0.020512474700809,0.045763548463583,-0.158895313739777,0.006612163968384) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.023077711462975,0.031683158129454,0.127492129802704,-0.029633266851306,-0.046239729970694,-0.064919464290142,0.101672060787678,-0.074449867010117,-0.037817511707544,-0.126727715134621,-0.179739892482758,-0.082607373595238,0.002202865900472,-0.083938680589199,0.108294896781445,-0.059708882123232) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.132425427436829,0.038941528648138,0.007484401110560,0.091161780059338,-0.018017977476120,0.094599619507790,-0.080616861581802,-0.005887370556593,-0.070190593600273,0.034818932414055,-0.105946004390717,0.025240575894713,-0.013239983469248,-0.022002542391419,0.023061700165272,-0.029557595029473) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.128466337919235,-0.035158358514309,-0.030707560479641,0.010288987308741,-0.034740474075079,0.077622324228287,-0.048266045749187,0.082895584404469,0.021419992670417,-0.039880327880383,0.225627526640892,0.027761960402131,-0.070326492190361,-0.043600011616945,0.002289932686836,-0.003212954849005) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.058043900877237,-0.025331573560834,-0.100616328418255,-0.065771810710430,0.050092376768589,-0.064480036497116,0.003188075497746,-0.063472345471382,0.094913348555565,0.081991210579872,-0.039952572435141,-0.108190968632698,-0.007447245996445,-0.039371151477098,0.025581410154700,0.013140895403922) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.075110055506229,0.241879060864449,-0.130667284131050,0.212004289031029,-0.109648026525974,-0.110600098967552,-0.209015056490898,-0.047304324805737,-0.082962386310101,0.034563522785902,0.021915696561337,0.128634870052338,-0.073787279427052,-0.012606152333319,-0.035053454339504,0.000904753629584) * MODEL3_texOff(vec2(0,0));
res += mat4(0.020814245566726,-0.118174679577351,-0.008944039233029,0.062203533947468,0.126302585005760,0.066328451037407,0.105562619864941,0.125808507204056,-0.037294115871191,0.016313843429089,-0.093220703303814,-0.011990911327302,0.103767387568951,-0.111160360276699,-0.026779416948557,-0.043757624924183) * MODEL3_texOff(vec2(0,1));
res += mat4(0.035050150007010,0.064723439514637,-0.081113770604134,-0.093797616660595,-0.006450077053159,0.001956569263712,-0.116153724491596,-0.045317012816668,0.022565076127648,0.098357886075974,0.046061012893915,-0.282220065593719,0.029106710106134,0.067342266440392,-0.116592690348625,0.006336370017380) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.057024620473385,0.111667625606060,0.142425537109375,0.133399158716202,0.050702054053545,-0.087932385504246,0.076038733124733,-0.051571529358625,-0.062500901520252,-0.085207648575306,0.163441523909569,-0.049155179411173,-0.004830350633711,-0.055021848529577,-0.108685113489628,0.032686185091734) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.051187764853239,-0.090502977371216,0.190698787570000,-0.100757509469986,-0.009290368296206,0.092298515141010,0.113934978842735,-0.010514196939766,-0.091038756072521,0.003462478518486,0.060457650572062,0.006279072258621,0.178441002964973,-0.000668441585731,-0.105716615915298,0.124533616006374) * MODEL3_texOff(vec2(1,1));
res += mat4(0.192587792873383,-0.098458580672741,-0.090086698532104,-0.053979162126780,-0.048118028789759,-0.215306505560875,0.014599260874093,-0.003506077686325,-0.044454090297222,-0.069690577685833,-0.007462921086699,-0.049339987337589,0.080656684935093,-0.047668576240540,-0.070366792380810,-0.055605418980122) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.020619032904506,0.112076781690121,-0.059232648462057,-0.007180552463979,0.031203944236040,-0.079465784132481,-0.171229138970375,-0.055326353758574,0.048079300671816,0.006733223795891,-0.073101185262203,-0.070804640650749,-0.102191358804703,-0.021404650062323,0.010818541981280,0.048829369246960) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.078019864857197,-0.183004200458527,0.083555214107037,0.027555888518691,-0.039533939212561,-0.103441640734673,-0.180547088384628,-0.032224830240011,-0.056816682219505,-0.048270266503096,0.006927499081939,-0.091690994799137,-0.033455740660429,0.059395108371973,0.019809635356069,0.011918468400836) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.003831719048321,0.008653739467263,-0.077736988663673,-0.032698228955269,-0.080778539180756,-0.138449117541313,-0.149405822157860,-0.096747152507305,0.060478825122118,-0.021036835387349,-0.037794787436724,-0.043749604374170,0.078785821795464,-0.001595382462256,-0.029124103486538,-0.106845840811729) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.000326788838720,-0.123425595462322,0.152382716536522,0.006995205767453,-0.035984702408314,0.040625896304846,0.074416227638721,-0.021873535588384,-0.215959355235100,-0.088423430919647,0.046323470771313,0.112294301390648,0.022347314283252,0.048910111188889,0.090566016733646,0.015640571713448) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.020782887935638,-0.027877081185579,0.022248040884733,-0.024946950376034,0.115367300808430,-0.129834547638893,0.008630500175059,0.032541368156672,-0.030076298862696,0.017515640705824,0.166531056165695,-0.075744532048702,0.013103146106005,0.058074165135622,-0.087008491158485,-0.156214043498039) * MODEL4_texOff(vec2(0,1));
res += mat4(0.014058479107916,-0.020037487149239,0.155697762966156,-0.044733341783285,-0.028731632977724,-0.032569952309132,0.011154970154166,0.145216748118401,0.028858900070190,0.077186182141304,0.107259042561054,-0.130436822772026,-0.011800033971667,0.002255022758618,0.044611014425755,-0.004396429285407) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.008047834970057,-0.029784956946969,0.056460626423359,-0.093394309282303,-0.029064975678921,-0.084004595875740,-0.031633481383324,-0.010858110152185,-0.307248800992966,-0.078350834548473,0.171359792351723,0.062154561281204,0.037249520421028,0.091822616755962,-0.089155547320843,0.037029121071100) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.013458526693285,0.023548575118184,-0.048603318631649,0.091973118484020,-0.018905872479081,-0.051341451704502,-0.123189434409142,0.165223136544228,-0.019707413390279,-0.112116388976574,-0.167405918240547,-0.019161405041814,0.009807907044888,0.058034013956785,0.050319563597441,0.062407758086920) * MODEL4_texOff(vec2(1,1));
res += mat4(0.114853508770466,0.047526869922876,-0.181821525096893,-0.038376636803150,-0.092065431177616,0.036305844783783,-0.040471330285072,-0.075571380555630,0.042430572211742,-0.022671433165669,0.132841140031815,-0.007045847363770,0.081511355936527,0.190006390213966,0.045864086598158,0.037888929247856) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.072548247873783,-0.115041673183441,0.257020860910416,0.067445009946823,0.181652501225471,0.092515312135220,0.114623524248600,0.026131536811590,0.112205520272255,-0.024932552129030,0.003712553298101,0.014544851146638,-0.129537701606750,-0.143506705760956,0.034677930176258,-0.012922101654112) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.097771853208542,0.036916349083185,-0.019816722720861,0.075033791363239,0.069898188114166,0.001846531871706,-0.029869262129068,0.000002878834493,0.033204816281796,0.112900897860527,-0.076967239379883,-0.106911793351173,0.077014103531837,0.042491305619478,-0.024772800505161,-0.033107027411461) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.010815737769008,0.193142771720886,-0.105176709592342,0.013202175498009,-0.113606251776218,-0.053578991442919,0.318431079387665,-0.091928750276566,0.067247040569782,-0.049026966094971,-0.117948889732361,-0.029486358165741,-0.035384073853493,0.107377290725708,-0.081720076501369,0.112926900386810) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.078757949173450,0.095782145857811,-0.002184469951317,0.019872477278113,0.241854950785637,-0.133217304944992,-0.088259585201740,-0.000176634435775,0.316757708787918,-0.055470272898674,0.003447041613981,-0.009527592919767,-0.008274372667074,0.487945050001144,-0.095112338662148,0.071718156337738) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.051433123648167,0.035281300544739,-0.045880012214184,0.126868799328804,0.012095618993044,0.067571334540844,-0.107354246079922,0.054825000464916,-0.146114483475685,0.132233843207359,-0.046984165906906,0.021753851324320,-0.087039425969124,0.145549654960632,-0.013546727597713,-0.013371529988945) * MODEL5_texOff(vec2(0,1));
res += mat4(0.014225446619093,-0.045983340591192,-0.086118869483471,-0.085881769657135,-0.000612655305304,0.036042600870132,-0.113771013915539,-0.044297903776169,-0.063200466334820,-0.021584780886769,-0.063618056476116,-0.075107887387276,0.093499377369881,0.023900378495455,0.049079917371273,0.005772619042546) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.011406337842345,0.057281989604235,0.039938040077686,0.124023348093033,-0.153608515858650,0.011207792907953,-0.123809061944485,-0.030006838962436,-0.233073532581329,0.049818560481071,-0.102576307952404,-0.035078205168247,-0.077237889170647,-0.293522000312805,0.093924894928932,0.007437013555318) * MODEL5_texOff(vec2(1,0));
res += mat4(0.073125988245010,-0.024138279259205,0.129950597882271,0.095192924141884,-0.026782240718603,0.071976408362389,0.076273076236248,0.004282298963517,-0.083954788744450,-0.041945099830627,0.081408061087132,0.011148550547659,0.010319065302610,-0.110079951584339,0.043498747050762,0.002535430714488) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.002683687955141,0.001726712100208,0.014145268127322,0.001255222130567,-0.045981246978045,-0.038748577237129,-0.110779978334904,-0.084621466696262,-0.135156050324440,0.009295141324401,-0.041030932217836,-0.027046428993344,0.054148782044649,0.014879761263728,-0.138409912586212,-0.051238656044006) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.003866397077218,-0.000587986607570,0.023839160799980,0.002287119626999,0.006053164135665,0.047899965196848,0.207777380943298,0.072060823440552,0.026846537366509,-0.106362655758858,-0.059406984597445,0.005363774485886,-0.088071741163731,-0.061295412480831,0.000040830978833,-0.004962116945535) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.007053323090076,-0.001452674041502,0.021899051964283,-0.002738935640082,0.043749075382948,-0.016323875635862,-0.018370881676674,0.026143494993448,0.024947484955192,-0.015110460110009,-0.005282955244184,-0.017750043421984,-0.088693067431450,-0.037439730018377,-0.008479767479002,-0.004178720526397) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.003830011235550,-0.000453927961644,0.016284396871924,0.000664870254695,-0.170978650450706,-0.092845477163792,0.151862278580666,-0.032217293977737,-0.058965329080820,0.046164162456989,0.220596700906754,-0.086484782397747,0.115595273673534,0.036017552018166,0.039514034986496,0.077067308127880) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.005241141188890,-0.002613759366795,0.023811532184482,0.001872435561381,0.163869366049767,0.050070617347956,-0.273817330598831,0.025112494826317,0.160381346940994,0.061740476638079,0.004744805395603,-0.050871886312962,-0.119284257292747,0.062742300331593,0.075585842132568,0.008183540776372) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.009508728981018,-0.003368453122675,0.025532528758049,0.000880092382431,0.063978619873524,-0.004035106394440,-0.008418478071690,-0.026304448023438,0.017835156992078,0.134316354990005,-0.020842447876930,-0.007841968908906,-0.007887762039900,-0.003582752309740,0.105826914310455,0.020977014675736) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.003880111500621,-0.002063089283183,0.014020773582160,0.002392207039520,-0.073203787207603,-0.096961058676243,0.027567462995648,-0.109232835471630,0.000651812530123,-0.003237078664824,-0.044829215854406,0.008946307003498,0.047947004437447,-0.023727439343929,-0.142778277397156,0.008967343717813) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.003096223808825,-0.003187937196344,0.017128206789494,0.003076786408201,-0.011088875122368,0.041503272950649,-0.042929090559483,-0.092236407101154,-0.071336261928082,-0.119979918003082,-0.053846050053835,-0.004645696841180,0.001702355570160,0.030150797218084,0.043944861739874,0.076396271586418) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.002082318300381,-0.003698769491166,0.016345756128430,0.002556189894676,-0.037479583173990,-0.053013868629932,0.001010796520859,-0.083429567515850,-0.035134699195623,-0.098369307816029,-0.025657011196017,0.000511865189765,-0.044500194489956,0.029514934867620,0.043687384575605,0.200751170516014) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.131999418139458,-0.041366793215275,-0.289620220661163,0.046746745705605) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 3_1

vec4 hook()
{
vec4 res = vec4(-0.017444876953959,-0.081547662615776,0.035953760147095,-0.045009691268206);
res += mat4(-0.146999046206474,-0.067702807486057,0.044557798653841,-0.120257526636124,-0.125217214226723,-0.035678483545780,0.040333814918995,-0.217822477221489,0.123532049357891,-0.034123208373785,-0.029919596388936,-0.051652338355780,-0.118393562734127,0.001881942735054,-0.012207631021738,-0.080518864095211) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.195237234234810,0.058170117437840,-0.013226621784270,0.241913020610809,-0.312674045562744,-0.034792110323906,-0.020558549091220,0.065673582255840,0.099843703210354,0.032100621610880,0.070993080735207,0.074634030461311,-0.128476560115814,-0.007228756323457,0.080318205058575,0.107882320880890) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.056352235376835,-0.015821630135179,0.045138400048018,-0.050533074885607,-0.077090993523598,-0.013481973670423,0.002941936720163,0.080924190580845,0.114297710359097,0.009795748628676,-0.054241009056568,0.110697403550148,-0.051484439522028,-0.032669585198164,-0.077005282044411,-0.143293872475624) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.042624607682228,0.021004861220717,0.093668162822723,-0.106444828212261,-0.156098484992981,-0.007154993712902,0.039435189217329,-0.126779466867447,-0.016145789995790,-0.047286048531532,0.057966381311417,-0.012680131942034,0.057439129799604,-0.013066289946437,-0.006650525610894,-0.370568901300430) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.237826749682426,-0.040313761681318,0.076202541589737,0.129432097077370,-0.108272746205330,-0.189985737204552,0.093816645443439,0.096465192735195,0.123117879033089,0.133829757571220,0.057111978530884,0.050349306315184,0.166062787175179,-0.091032303869724,0.023076448589563,0.145364418625832) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.112755388021469,-0.028909567743540,0.013293792493641,-0.244292765855789,-0.101071581244469,-0.024155283346772,-0.022412696853280,-0.001436933875084,0.003758470527828,-0.002139299176633,-0.133116200566292,0.113103382289410,-0.099017463624477,-0.047582000494003,-0.051796820014715,-0.099702209234238) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.000685394450556,-0.032179135829210,0.032547876238823,0.000500431517139,0.000779703143053,0.136900678277016,-0.014928816817701,0.047303061932325,-0.058293499052525,0.051266867667437,-0.078729599714279,0.090787366032600,0.308291792869568,0.085391275584698,-0.016805607825518,-0.252355664968491) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.042597450315952,-0.023405272513628,0.017628664150834,0.039353277534246,-0.131423965096474,0.075194410979748,-0.020232234150171,-0.061372857540846,-0.061105582863092,0.046191602945328,0.052728157490492,0.061268292367458,0.196318745613098,0.090005055069923,-0.054433442652225,0.065957434475422) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.048345014452934,-0.030352493748069,-0.039442185312510,-0.047107890248299,-0.107128769159317,0.005544534884393,-0.030713872984052,0.037699628621340,0.023344794288278,0.041927244514227,-0.016671516001225,0.028384635224938,-0.040720902383327,-0.064348049461842,-0.023564398288727,-0.026780860498548) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.075843632221222,-0.066757842898369,0.082897335290909,0.001060051261447,-0.091214150190353,-0.039073593914509,0.040926523506641,-0.022250074893236,-0.091650791466236,-0.074286893010139,0.032368261367083,-0.049795344471931,0.021999411284924,0.035920150578022,0.145544752478600,-0.071206256747246) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.316883325576782,0.048169877380133,-0.125719755887985,-0.100146189332008,0.082139216363430,-0.081353180110455,-0.007081228308380,-0.024400856345892,-0.036192510277033,0.032441046088934,-0.148656427860260,0.019165495410562,0.093473009765148,0.087846890091896,0.172357708215714,-0.236677736043930) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.167353883385658,-0.021456301212311,-0.025392469018698,0.111972466111183,-0.067287400364876,-0.094640664756298,0.056137762963772,-0.069658905267715,0.027682585641742,-0.075012683868408,-0.096380598843098,-0.126741111278534,-0.020963491871953,-0.034172862768173,-0.083257094025612,0.152146145701408) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.138755798339844,0.156479999423027,0.001094888197258,-0.010640940628946,0.070947080850601,-0.423595488071442,-0.050574455410242,0.047322481870651,0.073096655309200,-0.078577697277069,0.159535214304924,-0.264853298664093,0.055852487683296,0.040074445307255,0.229264363646507,0.010899629443884) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.255979597568512,0.316351234912872,-0.033837951719761,0.028837321326137,-0.077612072229385,-0.085815556347370,-0.032055314630270,-0.158127650618553,0.082532867789268,0.048229116946459,-0.019863963127136,0.081018380820751,0.239274635910988,0.060870625078678,0.239346340298653,0.117001295089722) * MODEL8_texOff(vec2(0,0));
res += mat4(0.172447562217712,0.008974493481219,-0.055674042552710,-0.041948910802603,-0.265959411859512,-0.283826202154160,0.005057283211499,0.167116269469261,0.018180426210165,0.032645083963871,-0.142977744340897,-0.082166433334351,0.230007573962212,0.018610177561641,-0.062065295875072,0.202975392341614) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.065615005791187,-0.238544061779976,-0.075655639171600,0.031503725796938,0.034263800829649,-0.197001144289970,0.103229403495789,-0.145073860883713,-0.123901955783367,-0.092059016227722,0.020342666655779,-0.049776293337345,-0.023307820782065,0.024991726502776,0.093157120049000,0.014716599136591) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.085138574242592,-0.182619631290436,-0.037288080900908,0.140961974859238,-0.152365252375603,-0.059172898530960,-0.066696338355541,-0.039301235228777,0.063945338129997,0.005961732938886,0.003370651509613,-0.003995067439973,0.136793226003647,-0.038179535418749,0.062473203986883,0.095144540071487) * MODEL8_texOff(vec2(1,0));
res += mat4(0.121478475630283,0.011376859620214,0.024391582235694,-0.125309750437737,-0.184656858444214,-0.071486920118332,0.029084488749504,-0.021120702847838,0.090923659503460,0.028795056045055,-0.014166867360473,-0.036709655076265,0.071802638471127,-0.049859166145325,-0.028876561671495,-0.031936116516590) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.089470036327839,-0.011444514617324,-0.149581089615822,0.011058874428272,-0.047661401331425,0.249471545219421,-0.024449950084090,0.098608039319515,0.108508296310902,0.081860825419426,-0.073984056711197,-0.107723943889141,0.062930442392826,0.029607117176056,-0.026809254661202,0.068022184073925) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.030083701014519,0.109372556209564,-0.101847402751446,-0.056068535894156,-0.029753543436527,0.061125855892897,-0.137820973992348,-0.006403157021850,0.001330161583610,0.107010647654533,0.058045595884323,-0.082670286297798,0.009711138904095,0.010518291965127,0.001218187855557,0.119255818426609) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.007051208056509,-0.055272269994020,0.112838394939899,0.152295306324959,-0.020575670525432,-0.058975968509912,-0.086052931845188,0.019756404682994,0.000845110916998,0.030227614566684,0.021851830184460,0.021473692730069,-0.067996397614479,-0.052304375916719,0.052681710571051,-0.203604564070702) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.007403342984617,0.131699219346046,-0.354232698678970,0.127747669816017,-0.137066528201103,-0.013634613715112,0.417726427316666,-0.176834270358086,-0.073116511106491,0.026609877124429,-0.099691100418568,0.154925137758255,0.022293027490377,-0.192414566874504,0.046416886150837,0.090800397098064) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.023476541042328,0.343245565891266,-0.168213188648224,0.046070691198111,0.048184026032686,0.056885838508606,-0.114830203354359,-0.128763481974602,0.018545588478446,0.027716254815459,0.027589581906796,-0.017229279503226,0.032242327928543,-0.170265644788742,-0.022979397326708,-0.175922721624374) * MODEL9_texOff(vec2(0,0));
res += mat4(0.076603651046753,0.012124709784985,0.124039940536022,0.063378632068634,-0.050484132021666,-0.164555892348289,-0.067045807838440,0.162998110055923,0.105446517467499,-0.042032826691866,0.005530389491469,0.090752430260181,-0.066706091165543,-0.034352824091911,0.154944032430649,-0.019733095541596) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.028128793463111,-0.070585586130619,-0.120663702487946,0.058357030153275,0.190758138895035,-0.042045682668686,0.118872426450253,-0.035194262862206,-0.093278005719185,-0.029856666922569,-0.058563113212585,0.074996605515480,0.070995949208736,-0.179565310478210,0.112353287637234,-0.063024632632732) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.072453424334526,-0.077261343598366,-0.058505479246378,-0.066870838403702,-0.002530105179176,-0.072149351239204,-0.016877723857760,0.071666613221169,-0.008957545273006,0.050590887665749,-0.047678370028734,0.061833214014769,0.088578477501869,0.069392874836922,0.067588910460472,-0.112925253808498) * MODEL9_texOff(vec2(1,0));
res += mat4(0.101784199476242,0.034006707370281,0.058618847280741,-0.090721346437931,-0.030277287587523,-0.126680985093117,-0.036964900791645,0.003428513882682,-0.035519111901522,0.024335529655218,0.036972247064114,-0.056321457028389,-0.133854404091835,-0.143568724393845,0.020206946879625,0.079265780746937) * MODEL9_texOff(vec2(1,1));
res += mat4(0.016184378415346,0.244490191340446,-0.108431987464428,0.043251492083073,-0.105990447103977,0.052383493632078,-0.030142152681947,-0.003867450403050,-0.067129731178284,-0.139794602990150,0.107452459633350,-0.040302574634552,-0.061695996671915,0.091064542531967,-0.081193678081036,-0.076095819473267) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.015181488357484,0.072893053293228,-0.062775529921055,-0.064985379576683,-0.077267684042454,-0.034200929105282,-0.087122097611427,0.093180693686008,0.010653517208993,-0.077895566821098,0.003641800954938,-0.066899940371513,-0.148119494318962,0.038379002362490,-0.078604757785797,-0.151631951332092) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.028881348669529,0.024164486676455,0.043404217809439,0.066949971020222,0.151803478598595,0.026030439883471,0.001904169912450,-0.003695561084896,-0.014106705784798,0.004544287919998,-0.016781877726316,0.004356880206615,-0.034048207104206,-0.022133683785796,-0.130930438637733,-0.113596238195896) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.088131122291088,-0.067672125995159,0.194033235311508,0.019746659323573,-0.045803215354681,-0.079715639352798,-0.040463000535965,-0.094286091625690,0.050540406256914,-0.093249663710594,-0.064945094287395,0.253239959478378,0.012447861954570,0.040904693305492,0.102761037647724,-0.218614712357521) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.086468003690243,-0.067306831479073,-0.119988232851028,-0.363713175058365,-0.075862258672714,-0.063490971922874,-0.008283840492368,0.022143036127090,0.011822981759906,-0.062145192176104,0.003887488506734,-0.195639729499817,-0.010478084906936,0.092011764645576,-0.082718223333359,-0.048468906432390) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.033567287027836,-0.079281158745289,0.068397425115108,0.090262077748775,-0.045830093324184,-0.099173732101917,0.034690987318754,-0.076097488403320,-0.047718413174152,0.045262031257153,-0.091411732137203,0.103153742849827,-0.102773964405060,0.072747290134430,-0.227082803845406,-0.114035300910473) * MODEL10_texOff(vec2(0,1));
res += mat4(0.266449600458145,0.008919885382056,0.078374914824963,0.080159030854702,-0.214747980237007,-0.160022720694542,-0.011084317229688,0.013980707153678,-0.072698742151260,-0.174718275666237,0.156123325228691,-0.113414876163006,0.111639238893986,-0.019799249246716,-0.055140100419521,-0.181333363056183) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.134753346443176,-0.050253883004189,0.003474642755464,-0.039859596639872,-0.020366920158267,-0.163258060812950,-0.072318099439144,-0.159277543425560,-0.142516970634460,0.014587904326618,-0.204954698681831,-0.145866751670837,0.009104521013796,-0.026061682030559,0.084098599851131,-0.043610427528620) * MODEL10_texOff(vec2(1,0));
res += mat4(0.042056951671839,-0.034268803894520,0.007194191683084,-0.065931059420109,-0.046615570783615,-0.061027649790049,-0.014232945628464,0.071053326129913,-0.052911687642336,-0.135983675718307,-0.096040718257427,0.208026245236397,-0.059884175658226,0.039964724332094,-0.106055185198784,-0.094231523573399) * MODEL10_texOff(vec2(1,1));
res += mat4(0.031339742243290,0.029040321707726,0.137466475367546,0.045797184109688,0.063531681895256,-0.027336696162820,-0.030625006183982,-0.142197981476784,-0.044492185115814,-0.054101150482893,-0.016299223527312,0.044911716133356,-0.019310249015689,0.051353324204683,0.046228073537350,0.043652869760990) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.089980103075504,0.003914448898286,0.062358263880014,-0.080036722123623,-0.005261905957013,-0.030186673626304,-0.003566398285329,0.098439253866673,-0.001520835096017,-0.073391690850258,-0.053680609911680,0.064770504832268,-0.006207671482116,0.050089050084352,-0.091744527220726,-0.214762449264526) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.044843900948763,-0.006584582384676,-0.147934988141060,0.081167690455914,-0.126027524471283,-0.002709029475227,-0.024503184482455,-0.095424123108387,0.056404113769531,0.045337028801441,-0.028273534029722,0.301116555929184,0.057023070752621,-0.044224258512259,-0.134000226855278,0.031386204063892) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.064443342387676,0.099586851894855,0.134986013174057,0.128457129001617,0.000459101167507,0.205949932336807,0.146550253033638,0.179328501224518,-0.006197987124324,-0.007956381887197,0.039696242660284,0.064336508512497,0.014992170035839,-0.216085523366928,0.200111523270607,-0.178683236241341) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.096740700304508,-0.266730070114136,0.193246155977249,-0.164966583251953,0.145674824714661,-0.128778964281082,0.009724745526910,-0.320003509521484,-0.036233153194189,0.152051433920860,-0.104402095079422,-0.105321981012821,0.073044106364250,0.010015172883868,-0.233515962958336,0.190307423472404) * MODEL11_texOff(vec2(0,0));
res += mat4(0.053788922727108,-0.053469996899366,-0.195595622062683,-0.171520203351974,-0.179319500923157,-0.159565150737762,-0.196218073368073,-0.163867160677910,-0.104091227054596,-0.134994283318520,0.106640525162220,0.056024447083473,0.066459186375141,0.108542472124100,-0.110897473990917,0.241502016782761) * MODEL11_texOff(vec2(0,1));
res += mat4(0.083578556776047,-0.077962212264538,0.173225224018097,-0.013358582742512,0.105050057172775,-0.125071540474892,0.177652269601822,-0.078251063823700,0.167244270443916,-0.007515082601458,0.094854637980461,0.140944868326187,0.077153243124485,-0.097866646945477,0.096842147409916,-0.023488506674767) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.004515389911830,-0.019297629594803,0.016444003209472,-0.003909515216947,0.070079050958157,-0.070587918162346,-0.008079767227173,-0.067946285009384,0.125190123915672,-0.054696001112461,-0.052291862666607,0.087517417967319,0.227809920907021,0.112659409642220,-0.004518569447100,0.221729159355164) * MODEL11_texOff(vec2(1,0));
res += mat4(0.143937304615974,-0.040652614086866,0.034079596400261,0.120036438107491,-0.016675861552358,-0.147280335426331,-0.019074687734246,0.059197470545769,0.026129830628633,-0.010761998593807,0.021432394161820,-0.163282170891762,0.071586079895496,0.069644041359425,0.019380597397685,-0.039243083447218) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.138945788145065,0.079286970198154,-0.069405786693096,-0.028421986848116,0.055704139173031,-0.108249694108963,0.069827511906624,-0.020762220025063,-0.157131120562553,0.045122727751732,-0.005528579931706,0.036863375455141,-0.111995317041874,-0.152725324034691,0.066207401454449,0.044161252677441) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.164084956049919,-0.025288145989180,0.051091082394123,0.057649724185467,0.069373898208141,0.085137352347374,-0.009764192625880,-0.129985928535461,-0.185692772269249,-0.052597198635340,-0.054679337888956,-0.017517402768135,-0.089441724121571,0.039324723184109,0.052447997033596,0.007470647804439) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.136128619313240,-0.014047848060727,0.080386452376842,-0.075359739363194,-0.121988154947758,-0.048245936632156,-0.038693007081747,0.137046024203300,-0.129636242985725,0.005540002137423,-0.062942102551460,-0.025440223515034,-0.010618386790156,-0.008115205913782,-0.101515099406242,0.222818210721016) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.119552485644817,0.263251066207886,0.124248281121254,0.174339815974236,-0.140794456005096,0.005923806224018,0.098154969513416,0.158984914422035,-0.248007744550705,-0.092901386320591,0.128917485475540,0.021863635629416,-0.023607175797224,-0.019077263772488,0.050528693944216,0.035045672208071) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.057841759175062,-0.216608345508575,-0.100181236863136,-0.146421685814857,-0.028581505641341,0.077434025704861,-0.085191726684570,-0.007559355814010,0.027697911486030,0.007392944302410,-0.053902119398117,-0.097290128469467,-0.111800365149975,0.058102864772081,0.150739237666130,-0.017337614670396) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.115400113165379,-0.013880325481296,0.015845695510507,-0.077340379357338,0.003217432647943,-0.000164325756487,-0.060300942510366,-0.051199361681938,-0.079084053635597,0.007363512646407,-0.189784154295921,0.082036353647709,0.073920153081417,-0.075208291411400,-0.134672969579697,0.105942845344543) * MODEL12_texOff(vec2(0,1));
res += mat4(0.245379284024239,0.011757736094296,-0.062326434999704,0.080518759787083,-0.203079521656036,0.112848885357380,0.013916033320129,0.075227133929729,0.153462707996368,-0.057262208312750,-0.073770523071289,0.011636788956821,-0.059292405843735,0.030896078795195,0.024187540635467,-0.011769493110478) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.205227598547935,-0.070247560739517,0.014512694440782,-0.004338889382780,0.075646594166756,-0.142598345875740,0.076518893241882,0.108321391046047,0.084317900240421,-0.027659308165312,-0.049849100410938,0.009944459423423,0.109951563179493,-0.145884722471237,0.088206715881824,-0.063227973878384) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.201473265886307,0.008035116828978,-0.030866764485836,-0.038993436843157,-0.001897718873806,-0.076728641986847,-0.032753236591816,-0.215381413698196,-0.016572641208768,-0.028210129588842,-0.109536036849022,0.171820700168610,0.069377303123474,0.099229604005814,-0.072201952338219,0.109879501163960) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.311450898647308,-0.139439746737480,-0.215623334050179,-0.117190577089787) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 3_2

vec4 hook()
{
vec4 res = vec4(0.133920744061470,0.010083215311170,0.069965139031410,-0.045428380370140);
res += mat4(-0.068558044731617,0.021834153681993,-0.005585037637502,0.076349921524525,-0.016121095046401,0.019101876765490,-0.046444702893496,-0.058607105165720,-0.045322481542826,-0.031351685523987,0.126884818077087,-0.007190258707851,0.103918842971325,-0.056238286197186,-0.022231427952647,-0.096107579767704) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.014386667869985,-0.169803619384766,-0.021916622295976,0.040814619511366,-0.030483417212963,0.003298978786916,-0.092324174940586,0.111472763121128,-0.250035107135773,-0.068893365561962,-0.110452666878700,0.119123540818691,0.129858270287514,-0.023898065090179,0.029809804633260,0.089207433164120) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.019028127193451,0.073068328201771,-0.097875647246838,-0.012980211526155,0.070205070078373,-0.043461494147778,0.025571361184120,-0.097690843045712,0.170840501785278,-0.072361372411251,0.032869089394808,0.077529497444630,0.019228650256991,0.026240445673466,-0.095031954348087,-0.088775612413883) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.080460309982300,-0.175252363085747,-0.050302486866713,0.007812692783773,0.014475129544735,-0.055327538400888,0.023057412356138,-0.045171011239290,-0.181236058473587,0.093936689198017,-0.115988835692406,0.076796561479568,0.186896950006485,-0.079793095588684,-0.019981186836958,-0.036615062505007) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.118094861507416,-0.476860463619232,0.157262474298477,-0.376878619194031,0.077061988413334,-0.121673703193665,0.103388652205467,-0.038405962288380,-0.261184722185135,-0.149754762649536,0.001558630377986,-0.050564765930176,-0.009780764579773,-0.071150615811348,-0.007466664537787,-0.156426459550858) * MODEL7_texOff(vec2(0,0));
res += mat4(0.176459044218063,0.140718653798103,-0.163844943046570,0.014719965867698,0.089246831834316,0.011523734778166,0.065950848162174,-0.020493403077126,0.131374850869179,-0.062890917062759,0.176660791039467,-0.051115185022354,0.023077698424459,0.167479857802391,-0.076468288898468,0.054903160780668) * MODEL7_texOff(vec2(0,1));
res += mat4(0.013852885924280,-0.025075610727072,0.007731643039733,0.046027336269617,-0.039223149418831,-0.162687450647354,0.055687867105007,-0.072323076426983,-0.044824842363596,0.037084095180035,-0.059716541320086,-0.050834640860558,-0.008556537330151,-0.028678771108389,0.043864045292139,-0.043057717382908) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.059170987457037,-0.074346251785755,-0.039116498082876,-0.028032947331667,0.062968447804451,-0.282036721706390,0.008969109505415,-0.031236613169312,-0.114336483180523,0.066131129860878,-0.047564573585987,-0.017016090452671,-0.047623500227928,-0.125695526599884,0.055670015513897,-0.065753169357777) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.044891823083162,0.023727962747216,0.030250638723373,0.085196316242218,0.089352697134018,-0.124764092266560,0.092266969382763,0.018805718049407,0.172363817691803,0.013648595660925,0.018265385180712,0.013778402470052,0.229905217885971,-0.042728424072266,0.032726947218180,-0.068258494138718) * MODEL7_texOff(vec2(1,1));
res += mat4(0.013686736114323,0.017438584938645,0.016746118664742,0.028350720182061,-0.231416448950768,-0.097046993672848,-0.126912221312523,0.051519144326448,-0.013920909725130,0.034478299319744,0.116182334721088,-0.045224595814943,-0.004028567112982,0.003792556701228,0.011788111180067,-0.117792971432209) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.118752658367157,-0.056226409971714,-0.035663411021233,0.030735155567527,-0.114856310188770,0.042069423943758,-0.236012265086174,0.038365807384253,-0.014480434358120,-0.174805894494057,0.230656191706657,0.029233209788799,-0.075813792645931,-0.024768983945251,-0.001432109507732,-0.052457779645920) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.000571679091081,0.017131170257926,-0.035269316285849,0.093539379537106,0.084067739546299,0.012428647838533,-0.068505682051182,0.012073361314833,0.068207055330276,0.017103569582105,0.139332816004753,0.003092262195423,-0.154719069600105,0.006910338997841,0.141085594892502,-0.018262568861246) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.115209169685841,-0.027352880686522,0.018941981717944,-0.043460272252560,-0.009531348012388,-0.117128662765026,-0.094632163643837,-0.090117625892162,0.109267935156822,-0.070049673318863,0.094703711569309,-0.038952007889748,-0.007506780326366,-0.003727807430550,-0.026504710316658,-0.044997893273830) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.040734764188528,-0.093719504773617,0.076097361743450,0.021101422607899,-0.196541845798492,0.081123828887939,-0.061342634260654,0.038769286125898,0.019617728888988,-0.068703405559063,0.146825775504112,0.122876092791557,0.020016143098474,0.051563311368227,0.066465914249420,-0.134001910686493) * MODEL8_texOff(vec2(0,0));
res += mat4(0.032353989779949,-0.086850106716156,0.048113137483597,0.080591388046741,-0.038496345281601,-0.132533162832260,-0.038840599358082,-0.134406834840775,-0.015795070677996,0.008350042626262,0.149845093488693,0.309162646532059,0.048432588577271,0.008471156470478,-0.022064335644245,-0.041484143584967) * MODEL8_texOff(vec2(0,1));
res += mat4(0.099607355892658,0.008492710068822,-0.021034114062786,0.046159032732248,-0.092689774930477,0.252133309841156,-0.077660642564297,-0.022370852530003,0.014587334357202,0.048019409179688,0.015925522893667,0.049000859260559,0.096457928419113,-0.037620294839144,-0.000838367210235,-0.103071950376034) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.158536180853844,-0.182937085628510,-0.027636220678687,0.037571836262941,-0.000092575181043,-0.088741369545460,0.029547832906246,-0.094347238540649,0.007008179556578,0.048057954758406,0.003919656388462,0.149367734789848,0.014656998217106,-0.104408539831638,0.040136132389307,-0.004354048985988) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.002824379364029,0.014185547828674,0.105198606848717,-0.027919130399823,0.155672460794449,0.139812439680099,-0.045483041554689,-0.050238430500031,0.044364351779222,0.045711725950241,0.117696344852448,0.102942593395710,0.014728335663676,-0.025710327550769,0.049944784492254,0.044471327215433) * MODEL8_texOff(vec2(1,1));
res += mat4(0.087445050477982,-0.011567804031074,0.094584926962852,0.051750946789980,-0.101188056170940,-0.064969785511494,-0.057678785175085,0.011553055606782,0.087337635457516,0.081435538828373,0.108724080026150,0.070158898830414,-0.161219820380211,-0.061339765787125,0.042624481022358,0.029363621026278) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.040367767214775,0.005117209162563,0.070129856467247,0.030969319865108,0.031682271510363,-0.043339099735022,0.015762060880661,-0.010054736398160,0.040921472012997,0.059740375727415,-0.035274852067232,-0.040284920483828,-0.049266364425421,-0.065741062164307,0.106742069125175,-0.065756998956203) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.079353868961334,0.055135112255812,0.117598310112953,0.002108120592311,0.070401631295681,-0.125693619251251,-0.068387858569622,-0.049265861511230,0.118569724261761,-0.060436658561230,-0.017331203445792,-0.013997652567923,0.057908523827791,-0.017454685643315,-0.037563253194094,-0.029066057875752) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.111105710268021,-0.049566939473152,-0.019168034195900,0.000727421487682,0.026972653344274,0.023787217214704,0.094683453440666,-0.011603465303779,-0.134715422987938,-0.115596719086170,0.145441293716431,-0.095249086618423,0.001091302605346,-0.037166506052017,-0.005903047975153,-0.177779302000999) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.106501094996929,-0.091187700629234,-0.063462175428867,-0.030422570183873,-0.116847448050976,-0.115128204226494,-0.097813464701176,0.140475437045097,0.105637349188328,0.003022146876901,-0.097662232816219,0.025065738707781,0.034612592309713,0.091235741972923,-0.212826699018478,-0.032283861190081) * MODEL9_texOff(vec2(0,0));
res += mat4(0.005099212750793,0.074143983423710,-0.025012573227286,-0.185770928859711,-0.051775954663754,0.069351226091385,0.139293760061264,0.074919484555721,-0.066961459815502,-0.012570309452713,0.111909642815590,-0.066570147871971,0.068172402679920,0.087154768407345,0.031328938901424,0.074977867305279) * MODEL9_texOff(vec2(0,1));
res += mat4(0.077117025852203,-0.157145231962204,0.048520803451538,0.001232009381056,-0.069011144340038,-0.003548626089469,0.015922082588077,0.044142957776785,-0.090894997119904,0.156925231218338,0.019031174480915,-0.049582593142986,0.016774730756879,0.084919914603233,0.034372918307781,0.096196740865707) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.077693358063698,-0.106865875422955,-0.026810409501195,0.097532272338867,0.032266791909933,0.068456046283245,0.070050545036793,-0.191111966967583,0.003337976289913,0.102175876498222,0.012418656609952,0.047194819897413,-0.019304217770696,0.295648276805878,-0.022011797875166,0.225066959857941) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.088197298347950,0.262523591518402,0.088557302951813,0.103188678622246,0.085135847330093,0.054581254720688,-0.096271209418774,-0.043933421373367,-0.063151724636555,0.047423224896193,-0.018355239182711,0.002321971347556,-0.150345280766487,-0.008354386314750,0.037696838378906,0.197019368410110) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.056744806468487,-0.053210709244013,0.131900876760483,0.024482959881425,-0.017109017819166,0.044975351542234,-0.013428551144898,0.001218745135702,0.191452756524086,0.010882898233831,-0.061301026493311,-0.044570289552212,-0.217663198709488,-0.013813345693052,-0.035050313919783,-0.027385877445340) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.009871962480247,0.013556024059653,-0.087303504347801,0.127785831689835,-0.072435975074768,-0.047380618751049,-0.022643392905593,0.040676780045033,0.060905218124390,0.085244894027710,0.024302585050464,0.125840663909912,-0.174826011061668,-0.073040984570980,-0.101793691515923,-0.015948506072164) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.112423770129681,-0.065593652427197,-0.000881483894773,-0.030268156901002,-0.102510124444962,-0.047291029244661,0.062349151819944,-0.017683289945126,-0.007652322296053,-0.066352382302284,-0.102364502847195,-0.004795330110937,0.115224838256836,-0.053428824990988,-0.115128658711910,-0.086404532194138) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.001787231536582,-0.013615450821817,0.033969663083553,-0.077919952571392,-0.208123758435249,-0.032608889043331,-0.021062539890409,-0.004628032911569,-0.029288142919540,0.003073631785810,0.018137229606509,0.018731348216534,-0.287236005067825,0.048107285052538,-0.033347129821777,-0.101693682372570) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.080235481262207,-0.157566562294960,-0.111769430339336,-0.009907025843859,-0.104343533515930,-0.172299236059189,-0.079766631126404,-0.113061048090458,-0.036040574312210,-0.063266195356846,-0.022154606878757,-0.076549097895622,0.064235419034958,-0.109796464443207,-0.138347446918488,0.062810041010380) * MODEL10_texOff(vec2(0,0));
res += mat4(0.046264182776213,0.094481579959393,0.019410667940974,-0.092796392738819,0.087024219334126,0.043786820024252,0.057429295033216,-0.011869830079377,-0.062002830207348,-0.137568682432175,0.099449411034584,-0.042040068656206,0.110776074230671,-0.014047333039343,-0.206497088074684,0.092825040221214) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.126397714018822,0.128659963607788,-0.002087948378175,0.034763772040606,0.083179593086243,-0.015130477957428,-0.007105607073754,0.026213441044092,0.191744774580002,0.014435396529734,-0.003897650865838,-0.063769921660423,-0.237402915954590,0.020399397239089,-0.023827590048313,0.125614106655121) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.003978656604886,-0.011029687710106,-0.008225308731198,-0.064828850328922,-0.059819575399160,0.161110594868660,0.028654737398028,-0.001156297512352,0.083613716065884,0.130565479397774,0.122182540595531,0.009993426501751,-0.013223615474999,-0.107885174453259,-0.155706286430359,-0.085586518049240) * MODEL10_texOff(vec2(1,0));
res += mat4(0.071975268423557,0.101935349404812,0.045702103525400,0.062787041068077,-0.050819750875235,0.067075647413731,-0.009016507305205,0.002511424943805,0.028890594840050,-0.140369832515717,-0.027587180957198,-0.032827459275723,-0.010101545602083,0.033813863992691,-0.060751140117645,-0.050677418708801) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.023952549323440,-0.009865939617157,-0.009479272179306,0.013607848435640,0.102031685411930,0.002220455557108,0.013778781518340,0.031812429428101,0.023134572431445,0.033072371035814,0.002360355108976,0.058865927159786,-0.284921318292618,0.055182527750731,-0.007695419713855,0.024790454655886) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.061237186193466,-0.055738344788551,0.085005871951580,-0.020541615784168,-0.003503636689857,0.020418016240001,-0.140335768461227,0.073253780603409,0.027781879529357,0.073471255600452,-0.029042363166809,-0.017085853964090,-0.205792501568794,-0.036034863442183,-0.065106943249702,0.016899274662137) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.035324897617102,0.042575210332870,-0.094561226665974,-0.005373040214181,-0.099427103996277,-0.016685238108039,0.028044980019331,0.000534518272616,0.001661238493398,-0.013795961625874,0.003394501982257,0.148623719811440,-0.106260254979134,0.010032591409981,0.168014407157898,0.002453094348311) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.052737932652235,0.030172273516655,-0.004009374417365,0.009862714447081,-0.068616338074207,0.037351727485657,0.028042780235410,0.061457443982363,-0.188271760940552,0.078840278089046,-0.119300335645676,0.063728921115398,-0.395967692136765,0.011918697506189,-0.059145402163267,-0.007207513786852) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.037627380341291,-0.082461275160313,0.041501685976982,-0.015412794426084,0.119004786014557,0.048018146306276,0.026691272854805,-0.070149287581444,-0.094384871423244,0.202871993184090,-0.032413490116596,-0.087095491588116,-0.037875540554523,-0.156319856643677,-0.342116504907608,0.222030982375145) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.059463977813721,-0.138415411114693,0.126377463340759,0.038136467337608,0.001088021555915,-0.016331037506461,-0.063274174928665,0.086357273161411,0.011773908510804,-0.091876760125160,-0.003402900649235,-0.118494689464569,-0.409236669540405,0.147328272461891,0.003257017349824,-0.006946254055947) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.027921857312322,-0.030068287625909,-0.053510364145041,-0.070773452520370,-0.108190424740314,-0.062032431364059,-0.025609197095037,-0.063306078314781,-0.100125283002853,-0.057561758905649,-0.040877994149923,0.020298443734646,-0.216706499457359,0.096637792885303,-0.060703407973051,0.020793266594410) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.052978966385126,0.058239102363586,-0.045681193470955,0.075112573802471,-0.007939242757857,0.108452178537846,0.017424114048481,0.053596258163452,-0.091420829296112,0.094650141894817,0.033588398247957,-0.015907162800431,0.131842225790024,-0.066820576786995,-0.123972378671169,-0.165436282753944) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.033090267330408,-0.064725928008556,-0.057989086955786,-0.358564227819443,-0.109348088502884,0.067427225410938,-0.036154486238956,-0.028258346021175,0.109002448618412,-0.031980104744434,0.045527700334787,-0.079296290874481,0.074158571660519,0.137941569089890,0.005873241461813,-0.170206859707832) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.069953158497810,-0.078914597630501,-0.051125090569258,0.063864506781101,0.012381076812744,0.017857765778899,0.026074443012476,-0.064246557652950,-0.084952510893345,-0.022483376786113,0.080187782645226,-0.002830978715792,0.088765360414982,0.084855765104294,-0.060448687523603,-0.007298664189875) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.171727970242500,-0.098060928285122,-0.008661928586662,0.034504946321249,-0.085021145641804,-0.028835935518146,-0.050496347248554,0.044817861169577,-0.114515192806721,-0.042433205991983,0.044343676418066,-0.022040527313948,0.072411358356476,-0.102247230708599,-0.363734096288681,-0.006321084219962) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.104148045182228,-0.074110865592957,-0.062248546630144,-0.099811829626560,0.069546200335026,0.037179037928581,0.119277976453304,0.006983111146837,-0.174623504281044,-0.040446601808071,0.029236277565360,0.034185044467449,0.069345325231552,-0.065874263644218,0.060641486197710,0.030944107100368) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.358234286308289,-0.151322647929192,0.028399780392647,-0.058780852705240,-0.011840009130538,0.001587371807545,0.007957982830703,0.065655224025249,-0.250499308109283,-0.077500559389591,0.025746148079634,-0.102482534945011,0.122579365968704,-0.001778401667252,-0.061685293912888,-0.000116217852337) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.078089386224747,-0.283958435058594,0.134410232305527,-0.147534415125847,-0.107766494154930,-0.004109819885343,0.115445531904697,-0.018997510895133,-0.181315660476685,-0.056698288768530,0.020244849845767,0.047780126333237,-0.104219384491444,0.062180843204260,-0.073537901043892,-0.142452031373978) * MODEL12_texOff(vec2(0,0));
res += mat4(0.073631517589092,0.132634505629539,-0.366521239280701,0.014638412743807,0.005646910052747,0.009135209023952,-0.184886723756790,-0.087841838598251,-0.057648446410894,-0.047730039805174,0.074726641178131,0.350795000791550,-0.081282377243042,-0.056251645088196,0.108411632478237,-0.030180798843503) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.234516680240631,0.049348160624504,-0.032870609313250,-0.039709422737360,0.016190079972148,-0.135851591825485,0.026132753118873,0.065009653568268,-0.139186114072800,0.094484306871891,0.009122136980295,-0.007131027057767,0.089419350028038,0.011629653163254,0.019793666899204,-0.120072849094868) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.107557460665703,0.220486670732498,0.004846476484090,-0.137682363390923,-0.273322016000748,0.073974624276161,0.189202517271042,-0.014955263584852,-0.162199199199677,0.011493401601911,0.011768436059356,0.065559171140194,0.017984637990594,0.065440654754639,-0.004865972325206,-0.031314142048359) * MODEL12_texOff(vec2(1,0));
res += mat4(0.197479501366615,0.110180109739304,-0.045220632106066,0.045965928584337,-0.002664224244654,-0.068014532327652,-0.133871257305145,-0.250670909881592,-0.034761741757393,-0.089163661003113,0.014665000140667,0.043029207736254,0.066950753331184,-0.056670650839806,-0.008295851759613,-0.023712761700153) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.028126174584031,-0.093614652752876,0.287400364875793,-0.232510328292847) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 3_3

vec4 hook()
{
vec4 res = vec4(0.161556899547577,0.099140204489231,-0.023616092279553,0.041365500539541);
res += mat4(-0.011700415052474,-0.000740820483770,-0.146680057048798,-0.077005349099636,0.008607508614659,0.116378530859947,-0.070296294987202,-0.146151855587959,-0.040235910564661,0.018762836232781,0.062575742602348,0.049382839351892,-0.188103720545769,-0.258156478404999,0.021719370037317,0.068252548575401) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.003859949298203,-0.277723938226700,0.093703299760818,0.076672710478306,0.047337990254164,0.042902458459139,0.037535373121500,-0.115317784249783,0.005237224511802,0.019373638555408,0.020563971251249,0.145115733146667,0.070600017905235,-0.295389115810394,0.157063961029053,-0.007085056044161) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.078674405813217,-0.066150583326817,0.077378652989864,-0.108186967670918,-0.015925368294120,0.097657866775990,-0.026999486610293,-0.071794606745243,0.159310787916183,-0.001950669335201,0.082771368324757,0.109932474792004,-0.163062870502472,-0.037762224674225,0.089642144739628,-0.070452988147736) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.111397892236710,0.027844395488501,-0.239245563745499,0.114757038652897,0.033869612962008,-0.017107877880335,0.046455185860395,-0.020404798910022,0.009133373387158,0.011790608987212,0.019771663472056,-0.052906814962626,-0.099917180836201,-0.073856562376022,-0.118199743330479,0.029532270506024) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.103577308356762,-0.622256398200989,-0.364739418029785,-0.322859674692154,-0.059475958347321,-0.085821397602558,0.088900007307529,-0.234607830643654,0.127077892422676,-0.020826265215874,-0.003199958708137,0.118264138698578,-0.183434858918190,-0.427915036678314,-0.121400326490402,0.194756388664246) * MODEL7_texOff(vec2(0,0));
res += mat4(0.022089892998338,0.081629171967506,0.049862958490849,0.041866067796946,-0.086759552359581,0.063018068671227,-0.016806658357382,-0.079208694398403,0.062719948589802,0.095518350601196,-0.159428104758263,0.068680703639984,-0.032086264342070,0.015473913401365,0.166930377483368,-0.092258363962173) * MODEL7_texOff(vec2(0,1));
res += mat4(0.055386967957020,0.088685587048531,0.070363752543926,-0.065429918467999,0.089823655784130,0.057570397853851,0.043198734521866,0.040615838021040,0.104417540132999,-0.020304827019572,-0.008619075641036,-0.057241052389145,0.047014802694321,0.039841167628765,0.140875041484833,-0.001403861562721) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.008070461452007,-0.131792306900024,-0.202836394309998,0.058302495628595,0.069930858910084,-0.121101580560207,-0.023603204637766,-0.051500488072634,0.091824159026146,0.100326284766197,-0.078137248754501,0.111071825027466,-0.089669853448868,-0.195018216967583,-0.180931523442268,0.077064871788025) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.024766867980361,0.052341066300869,-0.142217561602592,-0.035351175814867,0.034500222653151,0.106932371854782,-0.074405103921890,-0.028055390343070,0.043424841016531,0.107315413653851,-0.058563344180584,-0.030418053269386,-0.060080252587795,0.090773046016693,-0.043361328542233,-0.071994885802269) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.020062934607267,0.038396939635277,-0.070161499083042,-0.022811705246568,-0.015668405219913,-0.054191809147596,0.068678200244904,-0.002666713902727,-0.080925449728966,-0.109763346612453,-0.013632927089930,0.152669131755829,-0.029102997854352,-0.078710116446018,0.031952764838934,0.024263773113489) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.027040701359510,0.156094685196877,-0.159999668598175,0.037067681550980,-0.100517965853214,0.049046196043491,-0.116399280726910,0.021912487223744,-0.135452374815941,-0.058968089520931,0.083206824958324,0.054192971438169,-0.088299810886383,-0.009292215108871,0.047758266329765,-0.039188519120216) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.014867215417325,0.143230646848679,0.103651769459248,-0.014942300505936,-0.056223027408123,-0.028442496433854,-0.087965406477451,0.003612749744207,-0.177132830023766,0.102790832519531,-0.037660259753466,0.003175946185365,0.039927810430527,-0.354750603437424,0.252401530742645,0.011334174312651) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.043599046766758,0.055505640804768,-0.068246789276600,-0.118461370468140,0.085026226937771,0.128651365637779,-0.089291982352734,0.054492373019457,-0.014899188652635,-0.244380250573158,-0.090571269392967,0.152678966522217,0.023395327851176,-0.281124114990234,0.019235504791141,0.043519489467144) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.117290630936623,-0.131263211369514,-0.106909334659576,-0.060067031532526,0.101569451391697,0.054884698241949,-0.104573301970959,-0.030688110738993,-0.105723746120930,-0.247522518038750,-0.020828112959862,0.190234154462814,-0.045707557350397,-0.460978418588638,-0.020217517390847,-0.017284004017711) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.142656639218330,-0.200953245162964,-0.068462200462818,0.044658571481705,-0.173807293176651,0.071053408086300,-0.021396161988378,-0.083231195807457,-0.032788891345263,0.013326786458492,-0.034916065633297,0.014216551557183,-0.036003571003675,-0.540298819541931,0.037224832922220,0.129394769668579) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.003868533764035,-0.014645845629275,0.037984553724527,-0.106828652322292,-0.043370351195335,0.074467733502388,-0.036047518253326,-0.105079367756844,0.028526015579700,0.171051025390625,0.134005129337311,-0.107510082423687,-0.007993211969733,-0.082769401371479,-0.077233992516994,-0.036234192550182) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.010344279929996,-0.127982407808304,-0.065104797482491,0.026118924841285,0.038177747279406,-0.044123865664005,-0.076089248061180,-0.075507886707783,0.033009950071573,-0.028082454577088,-0.006933304481208,-0.009089357219636,-0.096895091235638,-0.182556718587875,-0.155372232198715,-0.012166969478130) * MODEL8_texOff(vec2(1,0));
res += mat4(0.041646678000689,-0.000745265278965,0.115839511156082,0.081734873354435,-0.057012375444174,0.130581602454185,0.079467728734016,-0.105280041694641,-0.016820505261421,0.043869443237782,-0.112968586385250,-0.036488559097052,-0.013918123207986,-0.277139574289322,0.083272449672222,0.078601934015751) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.027208819985390,-0.031192863360047,-0.004631840158254,-0.010451158508658,0.074113354086876,-0.027620818465948,0.054296828806400,-0.108828298747540,-0.153016135096550,0.114281296730042,-0.009340973570943,0.203150987625122,-0.125056222081184,0.093092359602451,0.057431753724813,0.060486905276775) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.046538133174181,0.062740251421928,-0.057190690189600,-0.010165698826313,-0.098957888782024,0.072327993810177,0.097477249801159,0.004463918507099,-0.068537071347237,0.031411923468113,-0.004971193149686,-0.048798311501741,0.029840178787708,0.204560115933418,0.013626758940518,-0.073258213698864) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.016951423138380,0.040385916829109,-0.027891097590327,-0.034167774021626,0.008170018903911,-0.068705275654793,-0.072828039526939,-0.160690203309059,0.014833841472864,-0.081176646053791,-0.074400909245014,-0.006293375510722,-0.037945628166199,0.111167930066586,-0.003170820418745,0.040154606103897) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.190239012241364,0.053724963217974,0.130353510379791,0.057943399995565,-0.075439549982548,-0.015022889710963,-0.119492530822754,0.058206591755152,-0.244105949997902,0.134243085980415,-0.005200054030865,0.182289496064186,0.129255861043930,-0.069874994456768,-0.085787259042263,0.020042026415467) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.062382280826569,0.228024706244469,-0.162833422422409,-0.039532046765089,0.181313797831535,0.079589448869228,-0.103350430727005,0.285333067178726,0.062155697494745,0.088279440999031,-0.022119408473372,-0.167329743504524,-0.137982279062271,0.022993709892035,0.004841143265367,0.000298899103655) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.079304642975330,0.048997577279806,-0.026446942240000,-0.039181198924780,-0.024696821346879,-0.000772751809563,0.173912078142166,0.121603302657604,-0.010227613151073,0.055287256836891,-0.004307504277676,0.005081115756184,0.021402882412076,0.030117059126496,0.055346224457026,-0.010997234843671) * MODEL9_texOff(vec2(0,1));
res += mat4(0.053658649325371,0.049885470420122,0.153271436691284,-0.056115526705980,0.037302892655134,-0.018737589940429,-0.001587590901181,-0.051423333585262,-0.299769014120102,-0.086051255464554,0.154106453061104,0.321070760488510,0.059538464993238,0.039517436176538,0.009638486430049,-0.142151936888695) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.025144483894110,0.022252950817347,0.161708489060402,-0.110407069325447,-0.185705244541168,-0.107914805412292,-0.035156443715096,0.164158254861832,0.027971802279353,0.033550325781107,0.089457586407661,-0.018163178116083,-0.038750004023314,0.065014317631721,0.145981758832932,-0.138859346508980) * MODEL9_texOff(vec2(1,0));
res += mat4(0.033369127660990,-0.056112952530384,0.146693125367165,-0.095711350440979,0.031078521162271,-0.004474404733628,0.055455252528191,-0.030788743868470,0.004475817084312,-0.003429093165323,0.039078630506992,0.012040099129081,0.139369562268257,0.143202394247055,-0.161572515964508,-0.006079573184252) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.044124636799097,-0.031610660254955,0.018328478559852,0.062073476612568,0.001400118344463,0.126232713460922,-0.052985563874245,0.040492076426744,-0.067765906453133,0.138762533664703,-0.095971032977104,-0.008196109905839,0.015924921259284,-0.062703594565392,0.051566738635302,-0.030459854751825) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.075916707515717,-0.050064139068127,0.034537665545940,0.134838014841080,0.000929314759560,-0.154744207859039,-0.048488862812519,-0.008740400895476,0.092103824019432,0.197073951363564,-0.035024326294661,0.158886969089508,-0.166404575109482,0.092878051102161,0.145498618483543,0.043470654636621) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.059047367423773,-0.026334721595049,0.036951910704374,0.007409439887851,0.013111367821693,-0.172072261571884,-0.033326156437397,-0.027254892513156,0.044155221432447,0.034466929733753,0.072586968541145,-0.064658232033253,-0.149092689156532,0.173942074179649,0.052610456943512,0.049520395696163) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.090134434401989,-0.087982647120953,-0.080317854881287,0.078387469053268,0.023143649101257,0.063963726162910,-0.054030533879995,0.121559672057629,0.177628263831139,0.031871795654297,0.094939447939396,0.032325673848391,-0.255274176597595,-0.084491662681103,-0.151477694511414,-0.078501030802727) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.053817994892597,0.071366108953953,-0.069885626435280,0.042824845761061,-0.142396867275238,-0.026892671361566,-0.015198690816760,0.005878369323909,-0.056613057851791,-0.034481156617403,0.135790333151817,-0.006455212365836,-0.268317341804504,-0.104780018329620,0.055045593529940,0.011783871799707) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.064858958125114,-0.013996347784996,0.060242574661970,-0.077241435647011,-0.005158670246601,0.036301955580711,-0.101247228682041,-0.150381132960320,0.014702985063195,-0.037811893969774,-0.099497303366661,0.026924513280392,-0.066686697304249,0.059971306473017,0.029442029073834,0.053116682916880) * MODEL10_texOff(vec2(0,1));
res += mat4(0.070842877030373,-0.030039926990867,-0.025461912155151,0.069583095610142,0.036207225173712,0.084648609161377,0.144670024514198,0.045923799276352,-0.187914833426476,-0.117781758308411,-0.086655467748642,0.101118057966232,0.100292421877384,0.229907646775246,0.073250725865364,-0.048415564000607) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.000535555998795,0.000186568140634,-0.000884854467586,-0.005175466649234,0.010994323529303,-0.042607203125954,-0.024166528135538,-0.082704588770866,0.072437323629856,-0.012240332551301,0.114574149250984,-0.088908024132252,-0.223873436450958,0.016172202304006,-0.095722235739231,-0.039835438132286) * MODEL10_texOff(vec2(1,0));
res += mat4(0.111234329640865,0.073553740978241,-0.104980222880840,0.025940967723727,-0.057416372001171,0.057160247117281,0.006071981973946,-0.081676460802555,0.061087436974049,-0.042973820120096,0.062092486768961,-0.029844652861357,-0.089613586664200,0.063190080225468,0.039411082863808,0.007609739433974) * MODEL10_texOff(vec2(1,1));
res += mat4(0.085449509322643,0.059890560805798,0.023331547155976,-0.004887271672487,-0.090598508715630,0.080958515405655,-0.002182325115427,0.046854529529810,-0.037757497280836,0.140491515398026,-0.129949957132339,0.096420265734196,0.098152987658978,-0.010455457493663,-0.014359448105097,-0.087284147739410) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.099290527403355,0.073177345097065,-0.007893702946603,0.042047820985317,0.063238151371479,0.128289744257927,-0.121493183076382,-0.179319396615028,-0.090661801397800,0.083287306129932,-0.006588641554117,0.031142169609666,-0.139830738306046,0.108099013566971,0.074432037770748,-0.108697719871998) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.047251075506210,0.188814476132393,0.079161010682583,0.001753595541231,0.091401219367981,0.094496779143810,0.090169683098793,-0.012672513723373,0.023388160392642,-0.094441086053848,-0.108659654855728,0.128921538591385,-0.089253865182400,0.003781551960856,-0.175902336835861,-0.064094945788383) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.094314888119698,0.040236830711365,-0.038000680506229,-0.044959928840399,0.050900466740131,0.013816778548062,0.100785672664642,-0.057413488626480,0.143745258450508,-0.061174292117357,0.067436121404171,0.018884316086769,-0.266502588987350,-0.093857258558273,0.029706234112382,-0.052129991352558) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.350442171096802,-0.077850468456745,0.019895073026419,0.072245232760906,-0.102186337113380,-0.153543174266815,-0.162822052836418,-0.135800853371620,0.004626672249287,0.089866399765015,0.184113487601280,0.051346812397242,0.080717720091343,0.023249004036188,0.323131531476974,-0.064421445131302) * MODEL11_texOff(vec2(0,0));
res += mat4(0.202500969171524,-0.112802296876907,0.103381983935833,0.011674964800477,0.200166329741478,-0.056582953780890,-0.112681902945042,-0.094034060835838,-0.223484888672829,0.053596831858158,0.024415222927928,-0.003478714264929,-0.367101490497589,-0.055613145232201,0.352456390857697,-0.069127619266510) * MODEL11_texOff(vec2(0,1));
res += mat4(0.041945494711399,-0.088942676782608,0.015492374077439,0.060666281729937,-0.097936578094959,-0.012533723376691,-0.047284044325352,-0.020805213600397,0.103501744568348,-0.160251155495644,-0.038012545555830,0.018579320982099,-0.087307065725327,0.071703091263771,-0.127960518002510,-0.087505862116814) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.023026948794723,0.028245510533452,-0.128709390759468,-0.080350272357464,0.093106038868427,-0.040670726448298,0.029913444072008,0.165800601243973,-0.087737090885639,0.052958417683840,-0.157305359840393,0.032908346503973,-0.196496993303299,-0.066860921680927,-0.180621042847633,-0.100968889892101) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.038984183222055,-0.168854027986526,-0.343821197748184,0.136294484138489,0.087268017232418,-0.033040657639503,-0.033643323928118,-0.001921727904119,0.074132405221462,0.097201652824879,0.064756795763969,-0.030061215162277,-0.121476769447327,0.161328658461571,0.081579096615314,-0.153654336929321) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.001119718770497,-0.031997669488192,-0.008824643678963,0.042123600840569,0.039845582097769,0.097987271845341,-0.119365222752094,0.071993887424469,0.214403346180916,-0.101124055683613,-0.068464659154415,0.000883442582563,0.138260200619698,-0.143297553062439,0.069420762360096,0.034471053630114) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.026429336518049,-0.231184273958206,0.116770394146442,-0.042988684028387,0.005730542819947,0.103070251643658,-0.068607546389103,-0.111717447638512,0.073719583451748,-0.007388445083052,0.075386218726635,-0.043932627886534,-0.071652233600616,-0.146002516150475,-0.196692332625389,-0.021858446300030) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.078818663954735,-0.109453611075878,0.051825478672981,-0.033988025039434,-0.062575764954090,-0.031359888613224,0.125161290168762,0.040581632405519,0.045992355793715,0.097579509019852,-0.132717877626419,-0.054791510105133,0.063834428787231,-0.042069002985954,0.047750446945429,-0.095200404524803) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.186237916350365,-0.084544815123081,-0.012118374928832,-0.122770376503468,0.329100102186203,0.280671566724777,0.019990121945739,0.210152015089989,0.093476630747318,-0.266711026430130,-0.129103958606720,0.016783803701401,0.073781207203865,-0.020870635285974,-0.044089712202549,-0.005103053990752) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.124232955276966,0.023278446868062,-0.260884135961533,-0.102819919586182,-0.166585490107536,0.173939496278763,-0.032569590955973,0.167918696999550,0.041076354682446,-0.101124279201031,0.038650535047054,0.113067217171192,-0.014616615138948,-0.112768352031708,-0.048268791288137,-0.058511562645435) * MODEL12_texOff(vec2(0,0));
res += mat4(0.074956618249416,0.044241841882467,0.050379697233438,0.001032685278915,-0.172307550907135,0.051640737801790,0.052407179027796,0.086003698408604,0.189790934324265,-0.170272856950760,-0.036659300327301,0.035705264657736,0.032284367829561,-0.003138293512166,0.087094120681286,0.001332272542641) * MODEL12_texOff(vec2(0,1));
res += mat4(0.045202240347862,-0.030412040650845,0.116396754980087,0.020128112286329,0.193434551358223,-0.083640702068806,0.129539102315903,0.120455540716648,0.053712595254183,-0.134275704622269,-0.028141416609287,-0.072981618344784,-0.023542197421193,-0.107412770390511,-0.040295537561178,-0.066255182027817) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.085356175899506,0.142072200775146,-0.036897044628859,-0.067380979657173,-0.056896951049566,0.057017650455236,-0.284754753112793,0.130252748727798,0.116299107670784,-0.102548755705357,0.116087704896927,-0.000733370194212,-0.019232064485550,0.019379066303372,0.042762998491526,-0.034433718770742) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.011747156269848,-0.068602889776230,-0.118783466517925,0.094623528420925,-0.039307996630669,-0.053507260978222,-0.128349766135216,0.046478003263474,0.039992712438107,-0.000826308969408,-0.167563363909721,-0.017812140285969,0.086448825895786,0.062466938048601,0.233856812119484,-0.025161383673549) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.324115514755249,0.060291890054941,-0.181607171893120,0.605499267578125) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 3_4

vec4 hook()
{
vec4 res = vec4(0.061534456908703,-0.019091786816716,0.134196177124977,0.059971489012241);
res += mat4(0.066107504069805,-0.060107510536909,-0.107858225703239,-0.003988157026470,0.044383917003870,-0.177261725068092,-0.012893171980977,0.064777135848999,0.176548838615417,-0.064353510737419,0.044355478137732,0.018328458070755,0.010507784783840,-0.088956400752068,-0.114210046827793,0.054892379790545) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.204676985740662,0.024180710315704,-0.396721005439758,0.036736939102411,-0.044859346002340,-0.207872763276100,0.024597171694040,-0.055084843188524,-0.014942900277674,0.064727626740932,0.048034071922302,-0.060803242027760,-0.082755088806152,-0.291694819927216,-0.281270742416382,0.000855384278111) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.071600608527660,-0.068028911948204,0.046929378062487,0.048998892307281,-0.161563873291016,-0.179337441921234,-0.023151444271207,0.008776658214629,-0.031511321663857,-0.052684478461742,-0.181574195623398,0.160530760884285,0.129576638340950,-0.131316676735878,-0.004735984839499,0.079387016594410) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.093105480074883,0.032656475901604,0.027918463572860,-0.109076291322708,0.034620925784111,-0.034637995064259,-0.054272536188364,-0.104749940335751,-0.086305610835552,-0.082784108817577,0.035631019622087,0.070890516042709,-0.204797327518463,-0.213654190301895,0.047497410327196,0.044719245284796) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.077396191656590,0.327539682388306,0.106888368725777,-0.131210818886757,0.000486602832098,0.080270893871784,-0.126443743705750,0.030836775898933,-0.075451083481312,-0.036764897406101,0.039968051016331,0.083332911133766,-0.076798371970654,0.096514582633972,-0.130028367042542,0.002083591418341) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.109141431748867,-0.071200281381607,-0.150860652327538,0.035376507788897,0.027537763118744,-0.099652633070946,-0.077922292053699,0.091840460896492,0.169566556811333,-0.049764275550842,-0.063704468309879,0.119591437280178,-0.239316403865814,-0.119473211467266,0.022569477558136,-0.037331350147724) * MODEL7_texOff(vec2(0,1));
res += mat4(0.054473612457514,0.117478318512440,-0.042727474123240,0.047836810350418,0.022737540304661,0.087799221277237,0.001072469749488,-0.050009015947580,-0.141730979084969,0.030759574845433,-0.086185649037361,0.074563212692738,0.056776128709316,0.001920417416841,-0.002479554386809,0.153778225183487) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.109313838183880,-0.028488319367170,-0.113105513155460,0.023047622293234,-0.034180738031864,-0.155513226985931,-0.010917377658188,-0.029266532510519,0.092475362122059,0.007145864423364,0.048888500779867,-0.063079014420509,0.087357588112354,0.049172412604094,0.014198612421751,0.017685601487756) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.019037039950490,-0.063949532806873,-0.032142829149961,0.062836878001690,0.081385888159275,0.060217112302780,0.006086376495659,0.053111139684916,0.040094379335642,-0.075938373804092,0.034285906702280,-0.022265987470746,-0.033578731119633,0.106609001755714,0.055852368474007,-0.007169085089117) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.082243777811527,-0.027039509266615,-0.037948712706566,-0.051587518304586,0.056976255029440,-0.052433259785175,-0.084828794002533,-0.146664127707481,-0.006039579864591,-0.233976572751999,0.035296183079481,0.046899620443583,0.066512674093246,-0.040393326431513,-0.062272582203150,0.058256179094315) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.028444761410356,-0.080234296619892,-0.080436460673809,-0.078523799777031,0.019538452848792,-0.130811184644699,0.026468694210052,-0.033440515398979,0.028949314728379,-0.191776260733604,-0.018529843539000,0.051573105156422,-0.163628086447716,-0.174923583865166,-0.008556136861444,-0.011406438425183) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.059350162744522,-0.095935225486755,-0.066634684801102,0.058676604181528,0.051623106002808,-0.100933045148849,-0.064440876245499,0.016456058248878,0.016643675044179,-0.270333170890808,0.053299825638533,0.009065726771951,-0.113234639167786,-0.147237136960030,-0.090654097497463,0.036106370389462) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.073673292994499,-0.094477884471416,0.025540851056576,-0.066026866436005,0.030706100165844,0.112626358866692,0.020083434879780,-0.214635521173477,0.127935767173767,-0.122411906719208,0.018297104164958,-0.013129982165992,0.095196992158890,-0.140352800488472,-0.088606536388397,-0.118328727781773) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.063699841499329,-0.082314752042294,0.019540099427104,0.290055900812149,-0.255768179893494,-0.119185365736485,0.019267162308097,-0.199631929397583,0.334736496210098,0.050569072365761,-0.060336012393236,0.113278999924660,-0.103783324360847,-0.059892579913139,0.004480455536395,-0.204923182725906) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.010585940442979,-0.044736146926880,-0.022401856258512,-0.031024586409330,0.079320497810841,-0.118438683450222,-0.015173523686826,-0.095915243029594,0.045748360455036,-0.094307102262974,-0.030035872012377,0.064243763685226,0.015898717567325,0.319089502096176,0.037984777241945,-0.092267766594887) * MODEL8_texOff(vec2(0,1));
res += mat4(0.051546100527048,-0.203867226839066,0.041343372315168,0.016605608165264,-0.018147166818380,0.210691720247269,0.004839997272938,-0.075894787907600,0.136428743600845,-0.006369281560183,-0.117458835244179,0.083477638661861,0.086881510913372,-0.014763489365578,-0.034642931073904,-0.063410215079784) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.014322374016047,-0.118782497942448,-0.024702960625291,-0.141780450940132,-0.013906527310610,-0.173881173133850,0.000231473051826,-0.213398844003677,-0.025104574859142,-0.025120809674263,-0.096351817250252,0.185170173645020,0.144397929310799,0.274470835924149,-0.021130407229066,-0.112967111170292) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.076437331736088,-0.028003251180053,-0.087406001985073,0.055080760270357,-0.086687490344048,-0.083667680621147,0.025392426177859,-0.179279834032059,-0.064757265150547,-0.085048273205757,-0.052700065076351,0.093787439167500,-0.051606923341751,0.145204290747643,-0.028363626450300,0.005906926468015) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.078772731125355,0.023594448342919,-0.087000459432602,0.032007236033678,-0.088541641831398,-0.043564628809690,0.038877688348293,0.002774378750473,0.055304434150457,-0.058009851723909,0.013365711085498,-0.068606607615948,-0.012131221592426,0.007552403490990,-0.063522361218929,-0.055472537875175) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.006696458440274,-0.076898537576199,0.037369910627604,-0.076505437493324,-0.014931814745069,-0.028280813246965,0.235103487968445,0.086900353431702,0.025329485535622,-0.028200212866068,-0.027222041040659,-0.033517569303513,-0.126821219921112,-0.036154661327600,-0.058853067457676,0.047969773411751) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.000178374190000,0.123610429465771,-0.209097683429718,-0.016462728381157,-0.070859014987946,0.045368384569883,0.048719417303801,0.019934760406613,-0.076571717858315,0.016935821622610,-0.062672823667526,-0.024058535695076,-0.080513477325439,0.071307122707367,0.049105361104012,0.076362602412701) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.118799291551113,-0.016058839857578,0.047346528619528,0.135320335626602,0.062743380665779,0.056436240673065,0.013331473805010,-0.233789518475533,0.227344021201134,0.074763961136341,0.019556704908609,0.058178409934044,-0.075688675045967,0.014409701339900,0.146876469254494,-0.013245162554085) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.050949368625879,-0.034257855266333,0.064130887389183,0.006467910483479,-0.061000064015388,0.042006399482489,-0.058630313724279,0.042753174901009,-0.065820395946503,0.142565876245499,0.047704324126244,0.040174130350351,0.262704193592072,-0.188094764947891,0.208533748984337,-0.257111549377441) * MODEL9_texOff(vec2(0,0));
res += mat4(0.089845895767212,0.032539829611778,0.046693298965693,-0.092096380889416,0.132122933864594,0.045217957347631,0.038856294006109,-0.044246543198824,0.076907113194466,0.035167559981346,0.019131936132908,-0.031974781304598,-0.101643301546574,0.025733644142747,0.003275075461715,-0.114680670201778) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.054593317210674,0.077292539179325,-0.100550711154938,0.100476041436195,-0.016112873330712,-0.042142760008574,-0.061645351350307,0.060958024114370,0.166084751486778,-0.019905567169189,-0.033786185085773,0.101092316210270,-0.014815899543464,-0.120626315474510,0.013172173872590,-0.203630924224854) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.038412824273109,-0.274220049381256,-0.104457214474678,0.073315374553204,0.123098284006119,-0.122316598892212,-0.035333268344402,0.077010616660118,0.004754246212542,-0.038030035793781,-0.022067707031965,0.110031649470329,0.003749872092158,-0.218838706612587,-0.190597608685493,0.028487768024206) * MODEL9_texOff(vec2(1,0));
res += mat4(0.029600527137518,-0.126246392726898,-0.107127420604229,0.035898532718420,0.002178650582209,0.168253317475319,-0.047917366027832,-0.039179857820272,0.106959469616413,-0.003601925913244,0.063912466168404,0.033609025180340,-0.018274419009686,0.058577004820108,-0.035474311560392,0.033570107072592) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.081454113125801,-0.071690894663334,-0.123532205820084,-0.080660529434681,-0.026215687394142,-0.051509026437998,-0.027468232437968,0.009348198771477,0.030346255749464,-0.047328915446997,-0.037546217441559,-0.109457656741142,0.179878026247025,-0.246105790138245,-0.047387447208166,0.055718529969454) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.056600470095873,-0.011557749472558,0.025535093620420,-0.017058731988072,-0.047975052148104,-0.089470207691193,-0.077237047255039,0.019068941473961,0.168317899107933,-0.202804565429688,-0.125503048300743,-0.015565657988191,0.050894510000944,-0.151675119996071,0.066034950315952,0.073176771402359) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.124038875102997,-0.169185802340508,-0.018844539299607,0.025466058403254,-0.176051467657089,0.121729739010334,0.016593132168055,-0.029315007850528,-0.014951368793845,-0.134891837835312,-0.066364452242851,-0.015112795867026,0.179450556635857,-0.091103412210941,0.129933789372444,0.029111091047525) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.195163577795029,0.015967080369592,-0.078157432377338,0.048888158053160,-0.081515818834305,-0.170025020837784,0.028410188853741,-0.134642183780670,-0.109138488769531,0.090434648096561,0.024900760501623,-0.055062130093575,0.069380573928356,0.060863535851240,-0.015300756320357,-0.056786265224218) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.028527006506920,-0.186248704791069,-0.072469092905521,-0.029938528314233,-0.005275226663798,-0.064465232193470,0.079235754907131,-0.113487698137760,0.028222521767020,0.042300716042519,0.176939129829407,-0.084360107779503,0.049668863415718,0.017921252176166,-0.031058121472597,0.121189936995506) * MODEL10_texOff(vec2(0,0));
res += mat4(0.200725004076958,-0.060214996337891,-0.094402067363262,0.111964210867882,-0.057759281247854,-0.013472380116582,-0.017618816345930,0.138180524110794,-0.262753933668137,0.044641841202974,-0.111729115247726,-0.021852552890778,0.056489206850529,-0.080974310636520,0.041485439985991,0.058083690702915) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.089236840605736,-0.131792277097702,0.009029365144670,0.042411979287863,-0.126482114195824,-0.071663126349449,0.005706608295441,0.051428787410259,0.125230938196182,0.179522126913071,-0.038665056228638,-0.025811512023211,0.200483620166779,0.069050177931786,0.009582552127540,-0.110667653381824) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.095846898853779,-0.137762784957886,0.086073227226734,-0.023154873400927,-0.004000795539469,-0.083386443555355,-0.037904359400272,-0.020945377647877,-0.014779698103666,-0.091411001980305,-0.137648731470108,0.002417278941721,0.048057164996862,0.128862351179123,0.025948099792004,-0.141331896185875) * MODEL10_texOff(vec2(1,0));
res += mat4(0.016424076631665,0.010548852384090,-0.016281416639686,0.011460275389254,0.063546046614647,0.017920635640621,0.004481368698180,0.037224281579256,-0.127571851015091,0.036588758230209,-0.019833756610751,-0.010233614593744,0.024591602385044,0.026345815509558,0.026106752455235,0.039345242083073) * MODEL10_texOff(vec2(1,1));
res += mat4(0.164365887641907,-0.088483490049839,0.036214772611856,0.020316142588854,0.057336419820786,-0.015348402783275,0.085449330508709,-0.016349453479052,0.077447511255741,0.009516081772745,0.129970282316208,0.078677043318748,-0.055759213864803,-0.052743013948202,0.035892214626074,-0.003967840224504) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.095636792480946,0.013019871897995,0.030711252242327,0.047393802553415,-0.071737959980965,-0.134174421429634,0.069113396108150,-0.002215519314632,0.203692898154259,-0.089235074818134,-0.048990875482559,-0.086487427353859,-0.024696934968233,-0.042871169745922,0.138638436794281,-0.000165028046467) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.116458907723427,-0.071114018559456,0.121671833097935,0.039527174085379,0.030043678358197,-0.078795634210110,-0.031389113515615,-0.024314001202583,0.047267038375139,0.005097273737192,-0.106935098767281,0.119751624763012,-0.138991042971611,-0.082113385200500,-0.017151862382889,0.016159595921636) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.050718355923891,0.042662486433983,0.006317915394902,-0.193125262856483,-0.051627751439810,0.049478240311146,-0.026127437129617,0.382251560688019,-0.044357325881720,-0.158531323075294,0.000181648967555,-0.046816036105156,-0.053803313523531,0.012228221632540,0.043565165251493,-0.296824097633362) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.116179548203945,0.178378239274025,-0.094311490654945,-0.019542763009667,-0.008360750041902,-0.004900690633804,0.138911694288254,-0.086551316082478,-0.158852949738503,-0.048783212900162,0.080633021891117,-0.015189418569207,-0.083893977105618,0.017812974750996,-0.001116487896070,-0.246679529547691) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.055381022393703,0.010501838289201,-0.234261304140091,0.157185822725296,0.114921636879444,-0.211470663547516,0.030954279005527,-0.199079871177673,-0.008381892926991,-0.061052266508341,-0.002185625955462,0.064818628132343,0.073586650192738,-0.093776278197765,0.032146688550711,-0.133563593029976) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.096824683248997,0.001651273691095,0.029541838914156,-0.200846716761589,-0.035605512559414,0.133931279182434,-0.050476793199778,0.000494536827318,-0.122290603816509,0.068206705152988,-0.037274312227964,-0.087914496660233,-0.008170299232006,-0.002399028278887,0.017634766176343,-0.151963874697685) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.019799133762717,-0.079646140336990,-0.008247720077634,0.089574068784714,-0.167397215962410,-0.061875049024820,-0.003945908974856,-0.041334133595228,-0.236133918166161,0.107473321259022,0.049964420497417,-0.082169733941555,-0.004871995188296,0.319708406925201,0.012476052157581,-0.173648715019226) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.073450520634651,0.219298437237740,0.067275471985340,0.064525835216045,-0.035547684878111,0.091820709407330,-0.074432715773582,-0.021092865616083,-0.207943558692932,-0.132496386766434,-0.027989327907562,0.068554967641830,-0.005969019606709,0.138029932975769,0.058574911206961,0.062136780470610) * MODEL11_texOff(vec2(1,1));
res += mat4(0.091908164322376,0.012861760333180,-0.051722578704357,0.008655979298055,-0.032283671200275,0.031162733212113,-0.000409863219829,-0.011384502984583,-0.311522603034973,-0.166712254285812,-0.007662931922823,0.050509020686150,0.152244091033936,0.088930048048496,0.013697146438062,-0.036419074982405) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.013439264148474,0.020173905417323,-0.283892244100571,0.037570320069790,0.067272692918777,-0.026538200676441,-0.030631707981229,-0.028298275545239,-0.279389441013336,-0.160768955945969,-0.022527758032084,0.046011317521334,0.046951923519373,0.041873753070831,-0.085041597485542,-0.152677148580551) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.117054998874664,0.072894051671028,0.019047416746616,-0.021094502881169,-0.044622346758842,0.012938673608005,-0.080560445785522,0.007855033501983,-0.273944765329361,0.001888332306407,0.033141747117043,0.127866432070732,-0.020836751908064,-0.126863345503807,-0.168032109737396,0.021664209663868) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.037510883063078,0.160511612892151,-0.041582353413105,0.029493272304535,0.105990335345268,-0.195290759205818,-0.045990172773600,0.047457665205002,-0.250352740287781,0.017452899366617,0.028047168627381,0.079378746449947,-0.024829009547830,0.045314785093069,-0.001285459031351,-0.135136187076569) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.001035728957504,-0.056961458176374,0.079797960817814,-0.152852535247803,0.059998691082001,-0.132886141538620,0.075074017047882,0.005707969889045,-0.117852956056595,0.051342710852623,-0.029557703062892,-0.150321409106255,0.077889211475849,-0.048668883740902,-0.098253093659878,-0.169340178370476) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.150388106703758,0.086990699172020,-0.036550998687744,0.082460373640060,0.227289006114006,-0.165304437279701,0.112318783998489,0.133807271718979,-0.272232621908188,0.091281615197659,-0.028151169419289,0.039641536772251,-0.027341347187757,0.102508492767811,-0.034053459763527,0.050714105367661) * MODEL12_texOff(vec2(0,1));
res += mat4(0.041815944015980,-0.025690730661154,0.068448163568974,0.161190584301949,0.112650856375694,-0.009290645830333,-0.061508711427450,0.042387641966343,-0.050249218940735,0.132781639695168,-0.032740309834480,-0.086215257644653,0.002524418989196,-0.019340379163623,0.066431142389774,-0.049472987651825) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.007899531163275,-0.191168844699860,0.156762972474098,-0.353061050176620,0.017233174294233,0.019534897059202,0.028188778087497,0.043618131428957,-0.134772643446922,-0.011869949288666,-0.026638623327017,0.007385598961264,0.139384463429451,0.153548002243042,0.034609358757734,-0.075969099998474) * MODEL12_texOff(vec2(1,0));
res += mat4(0.040971495211124,0.117721758782864,0.051927946507931,0.139407411217690,0.134271249175072,0.102842874825001,0.071873359382153,0.233088642358780,-0.240511313080788,0.097938895225525,0.000806475582067,0.047392349690199,-0.105125926434994,0.082089483737946,-0.060356032103300,0.006248234305531) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.179956525564194,-0.159734755754471,0.396525681018829,-0.007960404269397) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 3_5

vec4 hook()
{
vec4 res = vec4(0.088767684996128,-0.023610848933458,-0.286185264587402,0.181088820099831);
res += mat4(0.031758699566126,0.262525290250778,-0.012830669991672,-0.026042101904750,-0.066535145044327,0.024686757475138,-0.066052407026291,0.039544709026814,-0.084244206547737,-0.012504923157394,-0.008850556798279,0.063961751759052,0.059594228863716,0.144662052392960,0.017589872702956,0.146920651197433) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.075777627527714,-0.054020795971155,0.019363615661860,-0.006413313560188,0.094711780548096,0.055697321891785,-0.130954563617706,0.045184407383204,0.064419068396091,0.017915146425366,0.000856723054312,-0.022844992578030,-0.198902145028114,0.279698669910431,0.029345128685236,0.146442487835884) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.086970709264278,-0.051552560180426,-0.024022197350860,0.063262403011322,0.074905090034008,-0.020203905180097,-0.168097898364067,0.140482783317566,0.030226405709982,-0.052785847336054,0.049351584166288,0.057347379624844,-0.023191817104816,0.132494598627090,0.015817591920495,-0.037616979330778) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.035490542650223,0.041812915354967,0.032879948616028,0.027412636205554,-0.061198923736811,0.026586826890707,-0.046103771775961,0.066074647009373,0.060588885098696,0.008373737335205,0.012146925553679,-0.052024520933628,0.000427604885772,0.172187313437462,-0.037107635289431,0.227062210440636) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.032168745994568,0.178057461977005,0.288308680057526,-0.291891217231750,-0.013909139670432,0.054297592490911,0.035920541733503,-0.157617405056953,-0.029766349121928,-0.081671781837940,-0.111807450652122,0.058417245745659,-0.009641380049288,0.166218787431717,0.035718496888876,-0.020787620916963) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.099224880337715,0.377604663372040,-0.075387418270111,-0.085448890924454,-0.028197765350342,0.014915831387043,-0.020460508763790,-0.010014128871262,-0.060659766197205,-0.119404643774033,0.026215735822916,-0.049978125840425,0.043247763067484,0.078004054725170,0.207013860344887,-0.078874319791794) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.029671577736735,-0.013446171768010,-0.071331955492496,0.089309111237526,0.046930238604546,-0.042416244745255,0.062475848942995,0.030982960015535,-0.048328515142202,0.003370461519808,-0.032013919204473,0.037590462714434,-0.022367311641574,0.085278347134590,-0.053573861718178,0.161470860242844) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.042856268584728,-0.088551193475723,-0.018184676766396,0.062995575368404,0.046705331653357,-0.076085105538368,0.009645782411098,0.099290266633034,0.130354508757591,-0.166454240679741,-0.067123562097549,-0.008489631116390,-0.007111286744475,-0.086697071790695,0.075081512331963,0.043775685131550) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.000695196096785,-0.058190904557705,-0.097238592803478,-0.024378348141909,-0.032172009348869,-0.066865965723991,-0.045840941369534,0.000740660820156,-0.140764728188515,-0.025645384564996,0.106305465102196,0.146987870335579,0.075603529810905,0.290244400501251,0.185798421502113,0.025801459327340) * MODEL7_texOff(vec2(1,1));
res += mat4(0.028753858059645,0.023645438253880,-0.178125977516174,0.104562520980835,0.014902298338711,-0.132082685828209,0.083921596407890,-0.033748563379049,0.073241591453552,-0.010468751192093,0.118767216801643,-0.129530891776085,-0.136242493987083,0.138925448060036,0.166504845023155,-0.054802224040031) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.041369918733835,0.022472495213151,-0.041986733675003,-0.068834058940411,0.145924955606461,-0.000535955536179,0.133869677782059,-0.093203000724316,0.013029042631388,-0.021553976461291,0.042622748762369,-0.221690863370895,-0.268689423799515,0.241521805524826,-0.000124965212308,-0.299226731061935) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.009979436174035,0.060445580631495,-0.055777721107006,0.183213144540787,0.028292857110500,0.045633472502232,-0.081143908202648,0.103484347462654,0.043154742568731,0.003680116962641,0.004468936938792,-0.048476561903954,-0.247030958533287,-0.044150847941637,0.077628456056118,-0.407241553068161) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.068092457950115,0.049922250211239,-0.179194316267967,0.137770697474480,-0.022699683904648,-0.120976842939854,-0.053474467247725,0.036314029246569,0.061231177300215,0.028491243720055,0.180688649415970,0.072890348732471,-0.087513856589794,0.078954167664051,0.146067142486572,0.043329603970051) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.013458567671478,-0.068702481687069,0.072583012282848,0.091871507465839,0.285171926021576,-0.156282916665077,0.159318327903748,-0.004342541098595,0.019568121060729,0.134085237979889,0.013848108239472,-0.086117282509804,-0.316527545452118,-0.032635003328323,0.003984758630395,-0.207811117172241) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.014638216234744,0.003346925368533,0.029727242887020,-0.100777469575405,0.102766528725624,-0.151898771524429,-0.222316801548004,0.118371322751045,0.033776566386223,-0.102176889777184,-0.039088446646929,-0.114188320934772,-0.100790195167065,0.116103135049343,0.140586361289024,-0.104291200637817) * MODEL8_texOff(vec2(0,1));
res += mat4(0.045574124902487,0.027078023180366,-0.104114241898060,0.105794809758663,0.011310013942420,-0.010666753165424,-0.039119649678469,0.149197965860367,0.064434409141541,-0.168092563748360,-0.020463373512030,0.017363579943776,-0.014374581165612,0.046835206449032,0.131803289055824,0.050319075584412) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.038443759083748,-0.043887138366699,0.199805200099945,-0.048548061400652,0.007714949548244,-0.118202485144138,0.201445341110229,0.020262880250812,0.110187001526356,-0.196845933794975,-0.042707823216915,0.016759447753429,-0.044973835349083,-0.005094066727906,0.016364250332117,-0.053821083158255) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.147603049874306,0.017929105088115,0.141290783882141,0.099667891860008,-0.022960864007473,0.031757686287165,-0.076104976236820,0.057239539921284,-0.025196779519320,-0.003170350799337,-0.029679771512747,0.083487808704376,-0.201537296175957,-0.050715491175652,0.045685976743698,0.043918788433075) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.041349910199642,0.270466655492783,0.051132410764694,0.003137857886031,-0.093323640525341,-0.056765098124743,-0.065858073532581,-0.068034388124943,-0.072352677583694,0.052116923034191,0.017695680260658,-0.045832842588425,0.025874933227897,0.098799906671047,-0.054696515202522,-0.034048434346914) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.039892885833979,-0.000279681960819,0.036696303635836,-0.059498336166143,-0.215575605630875,-0.138720244169235,-0.084249705076218,-0.000027274789318,-0.044515106827021,0.098700895905495,-0.031828310340643,0.020728006958961,-0.022992081940174,-0.003030679887161,-0.069121249020100,-0.102045647799969) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.039766725152731,-0.085367999970913,-0.114552430808544,-0.182327672839165,-0.023943627253175,0.108148373663425,-0.023085677996278,-0.037889152765274,0.050714459270239,0.074031025171280,0.025477465242147,-0.006360009778291,-0.140737101435661,-0.162855625152588,0.024287339299917,0.008996710181236) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.003879181807861,-0.023266363888979,0.190484553575516,0.100199788808823,-0.174999862909317,0.011937082745135,0.303886830806732,-0.058436572551727,0.131287783384323,-0.034443315118551,-0.014814648777246,-0.103831276297569,0.099709011614323,-0.208132907748222,0.023425756022334,-0.208357676863670) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.212931066751480,0.004862147849053,-0.081585310399532,0.016838097944856,0.109438762068748,-0.087391085922718,-0.013612265698612,0.210304513573647,0.030394408851862,-0.016482634469867,0.065511025488377,0.013716397807002,-0.584527909755707,0.056685663759708,0.040967889130116,-0.066233612596989) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.045460440218449,0.000848901341669,-0.117640465497971,-0.089389629662037,0.109931811690331,-0.032736331224442,0.107454665005207,-0.049118753522635,0.019683184102178,-0.084723249077797,0.034627202898264,0.063552230596542,-0.076114021241665,0.188969686627388,0.023898109793663,0.086194127798080) * MODEL9_texOff(vec2(0,1));
res += mat4(0.039840959012508,0.101384118199348,-0.037936694920063,0.066868841648102,-0.037827182561159,0.004217159934342,-0.001606479752809,-0.030534753575921,0.169333726167679,-0.134549066424370,-0.092800930142403,-0.063749015331268,-0.069040752947330,0.080950111150742,-0.031807612627745,-0.094881422817707) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.093914434313774,0.118294075131416,-0.031405542045832,-0.094716601073742,0.296724021434784,0.198894396424294,-0.024853508919477,-0.017874231562018,0.042526867240667,-0.074516937136650,-0.027777485549450,-0.086030982434750,-0.150903090834618,-0.213163301348686,-0.164641097187996,0.064012788236141) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.090306848287582,0.048467174172401,0.040912508964539,-0.118843883275986,0.063717879354954,0.017410924658179,0.023803265765309,-0.026106448844075,-0.017926789820194,0.026645814999938,-0.082563720643520,0.009640236385167,-0.030120585113764,-0.108239240944386,-0.011525989510119,0.010805808007717) * MODEL9_texOff(vec2(1,1));
res += mat4(0.033912837505341,-0.005971739999950,-0.078204587101936,-0.085042215883732,0.026141492649913,0.035834789276123,-0.009026364423335,-0.021278301253915,-0.076123215258121,0.056477833539248,-0.035261359065771,-0.005312171299011,-0.027840066701174,0.166311562061310,0.073843590915203,-0.008907502517104) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.032932091504335,-0.068963766098022,-0.079120583832264,-0.004987457767129,-0.082227349281311,0.006267856340855,0.000689128472004,-0.051418073475361,-0.061868868768215,0.172239035367966,-0.070257328450680,0.230780512094498,-0.015307756140828,-0.103119820356369,0.093542829155922,-0.269017130136490) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.045574020594358,0.153192937374115,-0.134418725967407,-0.003387691220269,-0.040919847786427,0.022209383547306,-0.052480526268482,0.117943346500397,-0.008226632140577,-0.027598036453128,-0.094588257372379,-0.062636576592922,0.015350971370935,-0.072511762380600,-0.008848567493260,0.024266283959150) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.028606483712792,-0.048561792820692,0.004025052301586,-0.033082310110331,0.029819315299392,-0.064007252454758,-0.041377432644367,0.069783307611942,0.126325294375420,-0.122804425656796,0.032661940902472,0.114749692380428,-0.085381075739861,0.139960378408432,0.016252594068646,-0.109752140939236) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.099162988364697,-0.242731988430023,0.084698215126991,0.097509816288948,-0.001358477631584,-0.025042500346899,-0.245369434356689,0.038748160004616,0.156937867403030,-0.245696663856506,-0.103525802493095,0.195855975151062,-0.092327855527401,0.039402108639479,0.133219823241234,-0.240657627582550) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.074821949005127,0.022188847884536,-0.047702454030514,0.002902605570853,0.071760475635529,0.125024005770683,-0.089559383690357,-0.125758484005928,0.044181436300278,-0.040274038910866,-0.037445519119501,-0.088772654533386,-0.086888022720814,0.042618837207556,-0.008382823318243,-0.088715992867947) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.028712149709463,-0.037330374121666,-0.021721461787820,-0.080610677599907,0.069166399538517,-0.006031016353518,-0.115163952112198,0.035374019294977,0.014446487650275,0.020878359675407,0.022314030677080,0.046272575855255,-0.087606072425842,-0.159632369875908,-0.039607707411051,0.123385727405548) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.089822500944138,0.042144693434238,0.068852365016937,-0.016213146969676,0.061400700360537,-0.003258464625105,0.032078843563795,0.160105615854263,-0.044325865805149,0.089795678853989,0.075934134423733,-0.024087170138955,-0.065498434007168,0.018075328320265,-0.083283446729183,-0.079496242105961) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.045387838035822,-0.029861828312278,0.063117630779743,0.099969811737537,0.098607003688812,-0.171401068568230,-0.022055787965655,-0.010413854382932,0.027069093659520,-0.025893980637193,-0.017805168405175,-0.101667627692223,-0.031757198274136,-0.004463593009859,-0.022508215159178,-0.058682668954134) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.017420845106244,-0.041619416326284,-0.000895232253242,0.020192245021462,0.006912061013281,-0.059474382549524,0.009228552691638,-0.087852329015732,-0.116227075457573,-0.156684875488281,-0.107245884835720,-0.004052467644215,-0.007645482663065,-0.226849019527435,0.122675515711308,-0.023078469559550) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.076635874807835,-0.049649864435196,-0.099970355629921,0.017113128677011,0.072172142565250,0.246036961674690,0.004397050943226,-0.008364621549845,0.036238320171833,0.083456851541996,-0.026712840422988,-0.100627064704895,-0.040228117257357,-0.229408562183380,0.176036968827248,-0.126665592193604) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.049757640808821,-0.037632163614035,0.040811501443386,0.130921289324760,-0.113819614052773,0.097126208245754,0.026880694553256,-0.089705340564251,0.067107804119587,0.075187787413597,-0.009838777594268,0.081683918833733,0.037541784346104,-0.113085925579071,-0.010538639500737,-0.110473968088627) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.010991423390806,0.049383323639631,0.045898269861937,-0.055503789335489,-0.079667806625366,-0.051620274782181,-0.091224685311317,-0.008092099800706,-0.108151167631149,-0.051624402403831,-0.024897864088416,-0.182743698358536,-0.060435101389885,-0.082375682890415,0.075967088341713,-0.128178492188454) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.101616248488426,0.153401374816895,0.046853635460138,-0.168392807245255,-0.066341847181320,-0.057586293667555,0.190518140792847,-0.144450917840004,-0.084412947297096,-0.255102306604385,0.063819639384747,-0.304354727268219,0.068626455962658,-0.231390535831451,0.052217729389668,-0.126763045787811) * MODEL11_texOff(vec2(0,0));
res += mat4(0.127132549881935,-0.026442099362612,0.085810415446758,0.026475677266717,-0.121149323880672,0.015134832821786,0.311482459306717,-0.062021329998970,0.062631197273731,-0.193632736802101,-0.065641313791275,0.093635134398937,0.097323916852474,-0.303593218326569,0.042210869491100,-0.130398496985435) * MODEL11_texOff(vec2(0,1));
res += mat4(0.021303623914719,-0.049694921821356,-0.043312638998032,0.066661633551121,-0.088002242147923,0.024560518562794,-0.012738929130137,-0.106470741331577,-0.010631907731295,-0.208145350217819,0.001956900581717,0.070692926645279,-0.073754459619522,-0.165625751018524,0.131698116660118,0.003463164903224) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.091189257800579,-0.111577413976192,-0.012316918000579,0.131968289613724,-0.127395302057266,-0.179946646094322,0.174502015113831,-0.064701385796070,-0.150170281529427,0.018891319632530,0.104357965290546,-0.027697874233127,0.062551073729992,-0.171680256724358,0.035210922360420,-0.162502467632294) * MODEL11_texOff(vec2(1,0));
res += mat4(0.127193167805672,0.106027543544769,-0.140360280871391,-0.046646520495415,0.187865287065506,-0.080249160528183,-0.062047597020864,0.005912874359637,-0.045428469777107,-0.073160588741302,-0.024263197556138,0.119056649506092,-0.172682791948318,-0.170546799898148,0.009619088843465,0.036082405596972) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.014930581673980,0.049536395817995,0.063452586531639,0.029967008158565,-0.063840627670288,-0.095422014594078,-0.013427422381938,0.040783192962408,-0.071199357509613,-0.324798673391342,-0.068597353994846,-0.035263914614916,-0.037675786763430,-0.001326144672930,-0.009938680566847,-0.056541737169027) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.102543391287327,0.020665524527431,0.054202098399401,-0.149704113602638,-0.059373196214437,0.067186407744884,-0.151275932788849,0.001497273915447,-0.069595701992512,-0.339752316474915,0.009861161001027,-0.399224728345871,0.129694268107414,-0.076986394822598,-0.006653634831309,-0.004994043149054) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.074617497622967,-0.014527260325849,0.049590662121773,0.004705377854407,0.093908928334713,0.171847999095917,-0.069019839167595,-0.145465254783630,-0.080580987036228,-0.270283371210098,0.048763059079647,-0.293845117092133,-0.009762678295374,0.133603766560555,-0.047020930796862,0.040282931178808) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.041506726294756,-0.317906230688095,0.015313822776079,0.025968998670578,0.035392899066210,0.163649335503578,-0.032512437552214,-0.016345305368304,-0.053875505924225,-0.318416088819504,-0.097447194159031,-0.112510949373245,-0.010582887567580,-0.023450963199139,-0.047194633632898,-0.050019327551126) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.099288530647755,-0.237972646951675,0.268230378627777,-0.217022538185120,-0.012291003949940,0.002530119847506,0.064920790493488,0.025631235912442,-0.087375253438950,-0.098126105964184,0.056715760380030,-0.169942021369934,-0.057282593101263,0.039725493639708,0.116636760532856,-0.054660145193338) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.166981980204582,0.206507906317711,0.048150029033422,-0.147047802805901,-0.045050419867039,-0.308567494153976,-0.113060623407364,-0.021495930850506,0.096753545105457,-0.247779294848442,0.095719859004021,-0.027666710317135,-0.036934141069651,0.043350230902433,-0.094823747873306,-0.097066000103951) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.032174684107304,-0.011287027969956,0.068430900573730,0.015416746027768,-0.081190340220928,-0.017440529540181,-0.037136435508728,0.106560900807381,-0.104981571435928,-0.145419657230377,-0.009263413026929,-0.108433656394482,0.064116977155209,-0.015968045219779,0.068505808711052,-0.017623687162995) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.127769678831100,-0.056627660989761,-0.141346663236618,-0.246611461043358,0.043566647917032,0.029959622770548,-0.068687871098518,-0.152275010943413,0.023997791111469,-0.269099950790405,-0.058175131678581,-0.065877914428711,-0.068386644124985,-0.055266235023737,0.021068476140499,0.075788572430611) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.023778771981597,0.128770425915718,0.135528013110161,-0.049534521996975,-0.018215460702777,-0.028453024104238,-0.003466282971203,-0.084347561001778,0.138242438435555,-0.299703419208527,-0.105939112603664,0.034341454505920,0.002911742310971,0.031251829117537,0.037234108895063,-0.037843149155378) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.254645794630051,0.023550264537334,0.174122095108032,0.021600786596537) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 3_6

vec4 hook()
{
vec4 res = vec4(-0.007382799871266,0.039237797260284,-0.087316453456879,-0.059444930404425);
res += mat4(-0.166111677885056,-0.097516812384129,0.043108001351357,0.029498687013984,-0.119510561227798,0.002192228799686,0.061482500284910,-0.008779640309513,0.085727415978909,-0.019770631566644,-0.027007017284632,0.032514270395041,-0.039519529789686,-0.171519100666046,-0.104373581707478,0.085084803402424) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.344771206378937,-0.235746160149574,0.006541320122778,0.047306798398495,0.031494922935963,-0.113137327134609,0.076918311417103,-0.061841357499361,-0.026626663282514,-0.165295004844666,0.166221752762794,-0.058360822498798,-0.064063489437103,0.016423705965281,0.047892510890961,0.015701705589890) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.025811813771725,-0.217842131853104,0.026207419112325,0.075414970517159,-0.034099426120520,-0.061310019344091,-0.073510035872459,-0.042797654867172,0.046451710164547,-0.068152077496052,0.052340269088745,0.016075568273664,0.066246956586838,-0.177576020359993,-0.036579914391041,0.010786789469421) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.143899425864220,-0.068872466683388,0.129801645874977,0.042427007108927,-0.037535719573498,0.010707541368902,0.014333671890199,-0.011605225503445,0.064165592193604,0.010705543681979,-0.025414019823074,0.048097651451826,-0.170712232589722,-0.157598719000816,-0.048194207251072,-0.015993414446712) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.073048256337643,0.037688564509153,-0.255444198846817,-0.002296468475834,-0.066054910421371,0.076671957969666,-0.017003159970045,-0.048848841339350,0.055733554065228,0.014220287092030,0.021658688783646,-0.058251138776541,0.083212882280350,-0.119685918092728,-0.161668077111244,0.031498406082392) * MODEL7_texOff(vec2(0,0));
res += mat4(0.090493589639664,0.216430649161339,0.108227334916592,0.009678365662694,-0.075467787683010,0.061992332339287,-0.036313887685537,-0.093277022242546,-0.093189746141434,0.102713786065578,-0.046824522316456,-0.012461719103158,0.161493927240372,-0.179686442017555,0.118111319839954,-0.023059239611030) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.003677482716739,-0.016917850822210,-0.038649339228868,-0.025373898446560,-0.038174536079168,-0.174933597445488,0.105110242962837,-0.056846030056477,0.002261767629534,0.024296838790178,0.101799957454205,-0.059322159737349,-0.030455531552434,-0.100503332912922,0.027845529839396,0.017714856192470) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.012210714630783,-0.040232814848423,-0.065186128020287,0.022716226056218,-0.068693049252033,-0.135895207524300,0.048201307654381,-0.099825583398342,-0.053000304847956,-0.060728318989277,0.158849924802780,-0.014595829881728,0.027243167161942,-0.061547029763460,-0.058558970689774,-0.017687644809484) * MODEL7_texOff(vec2(1,0));
res += mat4(0.058760583400726,-0.028136873617768,0.012850875966251,0.001652873819694,-0.083537600934505,0.027017205953598,-0.090849839150906,-0.123573504388332,-0.062711969017982,0.000611699768342,-0.102114468812943,0.017460934817791,-0.017698662355542,0.017525073140860,0.009430836886168,-0.021092372015119) * MODEL7_texOff(vec2(1,1));
res += mat4(0.067334070801735,0.073256298899651,0.039394591003656,0.007961072027683,0.013324674218893,-0.260394126176834,-0.050290860235691,-0.050712551921606,0.082606904208660,0.083709552884102,0.021886095404625,-0.003393372753635,-0.208042457699776,0.075540639460087,0.175717934966087,-0.025590432807803) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.024746941402555,0.135001048445702,0.024844689294696,-0.001402800553478,-0.117446884512901,0.175360202789307,-0.053969524800777,-0.010457988828421,0.035363081842661,-0.036963995546103,-0.020180560648441,0.000705884536728,-0.323252618312836,0.033998087048531,0.182509154081345,0.009798264130950) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.261236757040024,0.001527131651528,0.115417294204235,-0.045965280383825,0.013439504429698,0.002750289859250,-0.025614058598876,0.064341068267822,0.010389404371381,0.197306722402573,0.110382370650768,0.008661046624184,-0.017924172803760,-0.080479435622692,0.101591214537621,-0.084314934909344) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.016925854608417,-0.060948844999075,-0.039639465510845,-0.046533800661564,0.080828063189983,-0.190671443939209,0.104401990771294,-0.014802061021328,-0.016875881701708,0.204525813460350,0.059971179813147,-0.020756620913744,-0.068117745220661,0.032573904842138,0.065811157226563,-0.046444937586784) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.071930922567844,-0.050556827336550,-0.061124701052904,-0.067073702812195,0.052784100174904,-0.001819722354412,0.031062763184309,0.090822756290436,0.073456615209579,-0.012436773627996,-0.092527441680431,-0.018451070412993,-0.133680567145348,0.064486078917980,0.004640301223844,0.023253684863448) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.000987910549156,-0.094245612621307,-0.112506568431854,-0.023918915539980,-0.111696101725101,-0.074295900762081,-0.067904062569141,-0.091618813574314,-0.031248657032847,-0.044472634792328,0.105390593409538,0.006176946684718,-0.003797428449616,-0.058280091732740,-0.025283768773079,-0.055132888257504) * MODEL8_texOff(vec2(0,1));
res += mat4(0.055413659662008,0.010075359605253,-0.055161897093058,-0.049421444535255,0.081677503883839,0.010140969417989,-0.072643496096134,-0.074108399450779,-0.009324716404080,0.013876229524612,-0.101036272943020,-0.051108952611685,0.016851317137480,0.173959255218506,0.063025891780853,-0.068702824413776) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.075924009084702,0.196487545967102,-0.028121260926127,0.019900521263480,0.040635060518980,0.025786723941565,-0.012970448471606,0.039477359503508,0.133569851517677,0.070010647177696,-0.047864697873592,-0.081909112632275,-0.128195211291313,-0.046477727591991,-0.016103859990835,-0.001958739943802) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.013844239525497,-0.013020489364862,0.071065843105316,0.026003500446677,-0.079533524811268,0.055747766047716,0.025919856503606,0.035774528980255,-0.086954399943352,0.069055356085300,-0.089345902204514,0.003330600447953,-0.059229061007500,-0.046930402517319,-0.016608804464340,-0.071660451591015) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.035527285188437,-0.003952080383897,0.011611545458436,-0.023531332612038,0.118413358926773,-0.096944704651833,-0.143515765666962,0.049175839871168,-0.108351469039917,0.004240707028657,-0.027694152668118,-0.054622914642096,0.157276540994644,-0.057720791548491,0.056372851133347,0.053499262779951) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.071289449930191,-0.053655967116356,0.110487274825573,0.036384534090757,-0.048455528914928,0.100255869328976,0.063744522631168,-0.019050037488341,0.045784745365381,0.085746198892593,-0.071433983743191,-0.000477898662211,0.037554305046797,-0.057702839374542,0.138965308666229,0.140071764588356) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.017736149951816,-0.052279353141785,0.055061511695385,0.005945774260908,-0.063354462385178,0.119391918182373,-0.111971259117126,0.032115388661623,-0.006013869773597,-0.011360999196768,-0.036315087229013,-0.021532753482461,-0.017518347129226,-0.132020547986031,-0.079667456448078,0.025675278156996) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.039447259157896,-0.128925487399101,-0.056766383349895,-0.074070185422897,-0.017463570460677,-0.040076542645693,-0.022940974682570,0.239302173256874,-0.070314258337021,0.039688892662525,-0.044544424861670,-0.070613816380501,0.118455797433853,-0.019208548590541,0.038808543235064,-0.018180752173066) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.032651755958796,-0.012584926560521,-0.017184058204293,0.026354486122727,0.106374554336071,-0.103303201496601,-0.067461267113686,0.068127684295177,-0.044566817581654,-0.009901940822601,0.110697947442532,-0.042027838528156,-0.206220507621765,0.020385453477502,-0.195284903049469,0.016192251816392) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.135016545653343,-0.072482332587242,-0.083370767533779,0.023927664384246,0.035587169229984,-0.055880282074213,-0.051143668591976,0.134568318724632,-0.027969669550657,0.036522496491671,-0.049136523157358,-0.053314838558435,-0.007211327087134,0.192190304398537,0.090783298015594,0.111228205263615) * MODEL9_texOff(vec2(0,1));
res += mat4(0.036404315382242,0.055989261716604,-0.013999275863171,-0.103420093655586,-0.168856173753738,0.041987761855125,0.178932696580887,-0.015698084607720,0.032063182443380,0.085520997643471,-0.021902289241552,0.036680698394775,-0.014782728627324,-0.163922265172005,-0.110757239162922,-0.029041487723589) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.106438554823399,0.118589773774147,0.027854235842824,-0.024220813065767,0.029528968036175,0.012076082639396,0.261672556400299,-0.049935974180698,-0.001319270464592,-0.005297463387251,-0.053147003054619,-0.062759272754192,0.125623360276222,-0.021226156502962,0.097374260425568,0.056794587522745) * MODEL9_texOff(vec2(1,0));
res += mat4(0.026558171957731,-0.006617079954594,0.101449027657509,0.010715624317527,-0.106715686619282,0.006293911486864,-0.107877396047115,0.001389005221426,0.016081973910332,-0.017013024538755,-0.052840866148472,0.033388119190931,-0.093154437839985,0.086063235998154,-0.041893985122442,0.055569678544998) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.063213840126991,-0.027806010097265,-0.052650649100542,0.020449936389923,-0.016792759299278,-0.028422135859728,-0.041874937713146,0.039633445441723,-0.052244339138269,0.244335383176804,0.039390269666910,-0.033192764967680,0.041662637144327,-0.456318378448486,-0.007448460906744,0.029232820495963) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.070494323968887,-0.073734767735004,-0.084712155163288,0.030236620455980,0.083447419106960,-0.113442085683346,-0.005276748910546,0.099343910813332,-0.003951470367610,0.222140565514565,0.093951828777790,-0.044615440070629,0.007150413468480,-0.368115156888962,-0.057452552020550,-0.001450638519600) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.016410797834396,0.038129560649395,0.021779082715511,0.026476426050067,-0.087452709674835,-0.135548815131187,-0.061672236770391,-0.010102587752044,0.001703559071757,-0.124362781643867,0.051252398639917,0.032364286482334,-0.000769433274399,-0.243265107274055,-0.064800530672073,-0.086057938635349) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.011872280389071,0.013538992963731,-0.081839434802532,0.144880995154381,-0.043826166540384,-0.032191600650549,0.057184156030416,0.039648819714785,0.016401527449489,-0.303470313549042,0.126923158764839,0.010411378927529,-0.204703181982040,-0.028788885101676,-0.135029733181000,0.063691593706608) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.008730384521186,0.238375693559647,-0.004423157311976,0.077948927879333,-0.018580675125122,0.035022400319576,0.058270022273064,0.105997741222382,-0.229167073965073,-0.118741102516651,0.007876984775066,-0.061582863330841,0.173696756362915,-0.027676546946168,-0.042876757681370,0.185298725962639) * MODEL10_texOff(vec2(0,0));
res += mat4(0.030862802639604,0.019733497872949,0.024658894166350,0.130329504609108,-0.067120164632797,-0.053155817091465,0.086495079100132,0.099247455596924,0.040781605988741,0.083231389522552,0.113760694861412,0.081255652010441,0.177716553211212,-0.234957471489906,-0.000771790742874,-0.075453303754330) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.019434899091721,-0.005305681377649,0.106724597513676,0.012388092465699,0.048895474523306,0.026429498568177,-0.144071966409683,-0.059547152370214,-0.028763771057129,0.063861720263958,-0.257504224777222,0.025020489469171,-0.015636723488569,-0.322530180215836,-0.051176164299250,-0.023058822378516) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.090706542134285,-0.186528220772743,0.066814206540585,0.054079677909613,-0.031274713575840,0.066197380423546,-0.012525119818747,0.048470526933670,0.174248099327087,0.093771740794182,0.099456720054150,0.025930307805538,0.106838420033455,-0.280639767646790,-0.098917238414288,0.023422259837389) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.042386107146740,-0.011126531288028,0.080789305269718,0.009792215190828,-0.109006695449352,-0.040776077657938,-0.043915051966906,0.058802131563425,-0.119219832122326,0.128834307193756,-0.108796402812004,0.065861560404301,0.178636357188225,-0.143571287393570,0.022368714213371,-0.028852518647909) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.006406323984265,-0.165814876556396,-0.005857181735337,0.069529317319393,-0.009912601672113,-0.017567111179233,0.145383402705193,-0.065306723117828,-0.038377299904823,0.024583211168647,0.103263340890408,-0.021045567467809,0.131963387131691,-0.321894347667694,0.053991898894310,0.005126351490617) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.065990805625916,0.108475744724274,-0.030800193548203,0.072821430861950,-0.194101646542549,0.025966105982661,-0.027600685134530,0.011892920359969,-0.137203380465508,-0.063004657626152,-0.029098741710186,-0.085474967956543,-0.057865343987942,-0.236714124679565,0.075798749923706,-0.053967867046595) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.079241432249546,0.070383228361607,-0.010451801121235,-0.011927672661841,-0.006192410364747,0.079098857939243,0.022351156920195,-0.048720579594374,-0.094693928956985,-0.090109087526798,0.007854959927499,0.001961672445759,-0.046248778700829,-0.048228114843369,0.061330161988735,-0.138549432158470) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.032011929899454,0.081422582268715,-0.124635547399521,0.100690148770809,0.107881426811218,-0.071795150637627,-0.078401267528534,0.047103274613619,0.072215169668198,-0.054783731698990,0.005026044324040,-0.000618411635514,0.035743601620197,0.027039170265198,0.004650538321584,0.104522302746773) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.084025248885155,0.080349370837212,-0.353885859251022,0.128175780177116,-0.137196898460388,-0.143597781658173,-0.013253715820611,-0.025045286864042,-0.049965735524893,-0.064398430287838,-0.025666220113635,-0.104616358876228,0.221138402819633,-0.221021175384521,0.019293749704957,-0.111940182745457) * MODEL11_texOff(vec2(0,0));
res += mat4(0.174997419118881,0.154625877737999,0.023429753258824,0.050782181322575,0.095424510538578,0.038256194442511,0.062513664364815,-0.036260910332203,-0.078760996460915,-0.028626086190343,-0.076740086078644,-0.003660896560177,-0.089524000883102,-0.284365355968475,-0.115491852164268,0.031719606369734) * MODEL11_texOff(vec2(0,1));
res += mat4(0.042304102331400,-0.095197424292564,0.049924913793802,0.078368052840233,0.017687149345875,0.147065579891205,-0.042893301695585,0.027189064770937,0.019966462627053,-0.124626480042934,0.006382861174643,-0.005973868072033,0.038790188729763,-0.290338456630707,-0.014054671861231,0.027514833956957) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.007731728721410,0.001948831486516,0.178257852792740,0.057396855205297,0.231815606355667,0.143471702933311,0.020272921770811,0.027341876178980,-0.107976168394089,-0.028699062764645,-0.081933557987213,-0.073315687477589,0.121062733232975,-0.123482063412666,-0.031936109066010,-0.098206333816051) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.094662144780159,-0.093661971390247,0.029714843258262,-0.060358297079802,-0.083189018070698,-0.110363587737083,-0.052719619125128,-0.070635356009007,-0.125936120748520,0.063277564942837,0.060701210051775,0.038483280688524,-0.172009721398354,0.007405159529299,-0.041235897690058,-0.014129099436104) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.005795757286251,-0.168031752109528,-0.083149015903473,-0.142249077558517,-0.031053682789207,-0.098416253924370,-0.002436940558255,-0.051643740385771,-0.172851219773293,0.057112853974104,0.070330590009689,0.005412918515503,0.005300191231072,0.017391668632627,0.002666003769264,0.003957498352975) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.008571146056056,-0.218206793069839,-0.038992159068584,-0.101276852190495,0.024124259129167,0.014075993560255,0.214251726865768,0.035252809524536,-0.135658085346222,0.028836725279689,0.085087314248085,-0.038322862237692,-0.075513914227486,-0.078911684453487,0.063231356441975,0.054251346737146) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.016675297170877,-0.214730203151703,-0.036038767546415,-0.015257364138961,0.022837376222014,0.158856362104416,-0.135966956615448,0.033748604357243,-0.003084081457928,0.215571835637093,0.037451438605785,-0.051400203257799,-0.001079928246327,-0.094483032822609,0.116681821644306,0.023998670279980) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.010277170687914,-0.125445529818535,-0.011766086332500,-0.005479258950800,-0.005106409080327,0.275771766901016,-0.090185418725014,0.002864337991923,-0.141492530703545,0.275114804506302,0.041843857616186,-0.107226364314556,0.072911180555820,0.052722390741110,-0.004368851892650,0.083191245794296) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.081754587590694,-0.085088931024075,-0.043455544859171,-0.007971568964422,0.013315338641405,0.473351657390594,0.216044887900352,-0.004643774125725,-0.151642769575119,0.017069043591619,0.120205402374268,0.068292558193207,0.075830347836018,0.077886417508125,0.080391749739647,0.039779741317034) * MODEL12_texOff(vec2(0,0));
res += mat4(0.313586175441742,0.177882984280586,0.127053767442703,0.009129705838859,0.004552752710879,0.135589674115181,0.014066348783672,0.007157909683883,0.083906285464764,0.173516452312469,0.049039781093597,-0.088393382728100,0.040360126644373,-0.055082373321056,-0.033018369227648,0.060734406113625) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.020944245159626,-0.037617381662130,-0.011046051979065,-0.095929257571697,-0.095200881361961,-0.084790818393230,0.073416918516159,0.005994542036206,-0.226468846201897,0.122319273650646,0.026413595303893,-0.034722156822681,0.030960930511355,0.046175412833691,-0.028376016765833,-0.045909907668829) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.238148689270020,-0.128746137022972,-0.047643501311541,0.028298368677497,-0.279816269874573,-0.178890511393547,0.190703600645065,-0.055158127099276,-0.076526470482349,0.021845227107406,0.062042642384768,0.006923637818545,0.099803298711777,0.109798975288868,-0.075291216373444,0.006827033590525) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.011344110593200,0.066533289849758,0.116558104753494,-0.029345074668527,0.029397023841739,-0.069069787859917,0.008008643984795,-0.010192244313657,-0.178414121270180,0.056408923119307,-0.119950398802757,-0.121778704226017,0.036742087453604,0.034903235733509,-0.049807742238045,-0.053514376282692) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.056170612573624,0.021912652999163,0.020300915464759,-0.048873715102673) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE1
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 4_1

vec4 hook()
{
vec4 res = vec4(-0.137308076024055,-0.081503786146641,0.113145299255848,-0.070700399577618);
res += mat4(0.024480784311891,0.080320030450821,0.005645358934999,0.096302181482315,-0.009811542928219,-0.046280570328236,-0.079003222286701,0.166331857442856,-0.017201485112309,0.112418726086617,0.003323848592117,-0.072123110294342,-0.088159233331680,-0.159304991364479,0.037228912115097,-0.009018482640386) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.072443373501301,0.085051193833351,0.020427104085684,0.123314231634140,-0.000344574160408,0.064195334911346,-0.111430287361145,0.189141869544983,-0.157833442091942,0.036473456770182,0.067362837493420,-0.005573765840381,0.169959038496017,-0.217960074543953,-0.027439938858151,0.164682507514954) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.137924820184708,0.065895065665245,0.006924713496119,-0.057338278740644,0.064792506396770,-0.171549394726753,0.033521808683872,0.075752466917038,0.098326578736305,-0.051950588822365,0.064599633216858,0.014833608642220,0.114445716142654,-0.359653949737549,0.025089401751757,0.144728481769562) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.010070986114442,0.028102723881602,0.005055575631559,0.030022300779819,0.064889930188656,-0.150769665837288,-0.060612436383963,0.069481424987316,-0.180770531296730,0.088867291808128,-0.032642360776663,-0.076229207217693,-0.085610210895538,-0.237267374992371,-0.001758252736181,0.129660189151764) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.175301998853683,0.003152612363920,-0.051270049065351,0.018769284710288,0.103384867310524,0.137426286935806,-0.157107263803482,-0.052393965423107,-0.422070175409317,-0.068136505782604,-0.053923200815916,0.146227315068245,0.144976556301117,-0.002430619439110,-0.069184765219688,-0.007752111181617) * MODEL1_texOff(vec2(0,0));
res += mat4(0.014161417260766,0.143373101949692,0.073880657553673,-0.119161538779736,0.083622716367245,-0.068518884480000,-0.012721096165478,0.106103010475636,-0.201213821768761,-0.051217492669821,-0.019672861322761,0.014135666191578,-0.046766009181738,-0.358437478542328,0.080823287367821,0.028160259127617) * MODEL1_texOff(vec2(0,1));
res += mat4(0.061066359281540,-0.085413686931133,-0.046922929584980,-0.001939112087712,0.069431565701962,0.130319014191628,-0.006847346667200,0.054044749587774,-0.174901634454727,-0.026079559698701,0.097865015268326,0.014910306781530,-0.020383035764098,-0.360860973596573,0.065963871777058,0.013445777818561) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.074166826903820,-0.015339653939009,-0.121568046510220,-0.015931956470013,-0.065521813929081,0.121981211006641,-0.077240951359272,0.068818226456642,-0.162141084671021,-0.074316993355751,0.118806280195713,0.023453783243895,-0.061033133417368,-0.095283471047878,0.077408619225025,-0.046913269907236) * MODEL1_texOff(vec2(1,0));
res += mat4(0.131566107273102,0.098192900419235,-0.187991961836815,-0.115168683230877,0.094537772238255,-0.159085780382156,0.055778954178095,-0.061541080474854,-0.169426888227463,0.066932134330273,-0.063201062381268,-0.015984548255801,0.023146033287048,-0.561002135276794,0.071151584386826,-0.204245790839195) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.047431148588657,-0.057506538927555,0.029826784506440,0.045156657695770,0.051203429698944,0.013915292918682,0.030020216479897,0.023499269038439,0.127875909209251,0.046924624592066,-0.000037515106669,-0.090641558170319,0.156992286443710,-0.007831530645490,0.177483096718788,-0.100685253739357) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.005350151099265,-0.089239597320557,-0.009422990493476,0.122053220868111,0.022053925320506,-0.103661499917507,-0.363596171140671,-0.024240486323833,0.014947493560612,-0.010582261718810,-0.054047536104918,0.030766418203712,0.028695378452539,-0.360373616218567,-0.188596025109291,0.026187263429165) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.210289612412453,0.009752111509442,-0.169397875666618,0.128124490380287,0.006704650819302,-0.213130667805672,0.136390551924706,-0.075059227645397,0.156249925494194,-0.183905422687531,-0.056383963674307,-0.050410579890013,0.049967639148235,0.327781528234482,-0.095661208033562,0.030449839308858) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.027581861242652,-0.072570756077766,-0.172169879078865,0.056177373975515,0.047770489007235,-0.110846966505051,0.011602596379817,-0.057368036359549,0.166118666529655,-0.016631714999676,-0.062817707657814,-0.126612126827240,0.044120814651251,-0.108440920710564,0.189660415053368,-0.023245476186275) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.061644967645407,-0.215210556983948,0.116828009486198,-0.145656108856201,0.002112765563652,-0.103629857301712,-0.259245842695236,0.174235329031944,-0.023020464926958,0.006159820593894,-0.023818206042051,0.050644315779209,0.001380537869409,-0.160851716995239,-0.212421566247940,0.058845177292824) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.128446936607361,0.123707383871078,0.024597115814686,-0.095478661358356,0.009893553331494,-0.024963356554508,-0.149919629096985,-0.086764030158520,0.008638389408588,-0.122848913073540,0.011085639707744,0.145895525813103,-0.007973776198924,0.431647270917892,-0.053700622171164,0.220303177833557) * MODEL2_texOff(vec2(0,1));
res += mat4(0.029628375545144,0.099894061684608,-0.064484454691410,-0.060702580958605,0.008873304352164,-0.065402098000050,-0.177171573042870,0.061850011348724,0.160080313682556,-0.000349181500496,-0.106767609715462,-0.104575209319592,0.062598720192909,-0.291290819644928,-0.144493073225021,-0.018152168020606) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.207398280501366,-0.009525605477393,-0.112879894673824,-0.091737657785416,-0.025307767093182,-0.030213991180062,-0.260716378688812,0.080710090696812,-0.075284495949745,0.100932031869888,-0.004720743745565,-0.072173945605755,0.016621977090836,0.073666356503963,0.106354959309101,0.041477587074041) * MODEL2_texOff(vec2(1,0));
res += mat4(0.165615737438202,-0.047128736972809,-0.047114472836256,-0.083195514976978,0.052193883806467,0.041284479200840,-0.031552739441395,0.056029263883829,-0.042124040424824,-0.048953298479319,-0.077898845076561,0.080076724290848,0.081180036067963,0.124283701181412,0.098676264286041,0.040579907596111) * MODEL2_texOff(vec2(1,1));
res += mat4(0.007846327498555,-0.142357423901558,-0.074272356927395,-0.037148293107748,-0.051926296204329,-0.123417392373085,0.101894378662109,-0.166158363223076,-0.020107563585043,-0.079214394092560,-0.040750429034233,-0.141730874776840,-0.115519404411316,-0.079679913818836,-0.082575395703316,-0.061552420258522) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.027683405205607,-0.039463095366955,0.049420610070229,0.074503436684608,0.193438410758972,0.248595118522644,0.003154726233333,0.193501129746437,-0.129835933446884,-0.082553766667843,-0.013488072901964,-0.167024090886116,0.052220538258553,-0.037007760256529,-0.100405931472778,-0.156456828117371) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.132563352584839,-0.080768436193466,0.056495942175388,-0.034314744174480,-0.152330011129379,0.051132667809725,0.242645680904388,-0.089828871190548,0.027249636128545,0.002694247756153,-0.061987217515707,-0.009301672689617,0.039987094700336,-0.058810032904148,-0.113373525440693,0.010495988652110) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.041067767888308,0.011393739841878,-0.039243355393410,0.019131710752845,-0.156558960676193,-0.178538754582405,-0.031588573008776,0.167112395167351,-0.071603812277317,-0.097162723541260,-0.208384320139885,-0.103917993605137,-0.189983233809471,-0.093073889613152,-0.030983988195658,-0.055656980723143) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.086632505059242,-0.127536222338676,0.044192597270012,-0.090735860168934,0.126081973314285,0.338619142770767,-0.052281800657511,0.201063424348831,-0.008184283971786,0.104713372886181,-0.161677822470665,0.053629737347364,0.095918506383896,-0.097065225243568,-0.047996871173382,-0.227401211857796) * MODEL3_texOff(vec2(0,0));
res += mat4(0.122535087168217,0.174047812819481,0.007501934655011,-0.280863374471664,0.019768789410591,-0.176312804222107,0.022702790796757,-0.081706963479519,0.007498742546886,-0.110630646348000,-0.058526217937469,0.189443379640579,-0.064571335911751,-0.023499239236116,-0.055119346827269,-0.034578170627356) * MODEL3_texOff(vec2(0,1));
res += mat4(0.088568493723869,-0.075740896165371,0.072153158485889,-0.009752419777215,-0.126615688204765,-0.272568374872208,0.110603772103786,0.099106766283512,-0.028633607551455,-0.116864658892155,0.079788401722908,-0.046538367867470,-0.057535775005817,0.068718954920769,0.007298977114260,-0.025371484458447) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.024798842146993,-0.188853353261948,-0.124620229005814,0.031392928212881,-0.164012417197227,0.468654423952103,0.039828401058912,-0.002442100783810,-0.074539028108120,0.209531992673874,-0.007426050957292,0.014703692868352,-0.119618535041809,-0.286731004714966,-0.012764243409038,-0.093903690576553) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.106064729392529,0.032179098576307,0.113706454634666,0.005678722634912,-0.048015128821135,-0.162609174847603,0.174121469259262,-0.112853437662125,-0.094054765999317,0.021335031837225,0.052303172647953,0.031660612672567,-0.031680554151535,0.159880384802818,0.087839491665363,0.069375596940517) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.079512052237988,0.260446757078171,-0.000825466588140,-0.035623453557491,-0.047061707824469,-0.079147033393383,-0.031190047040582,-0.004527099430561,0.145386770367622,-0.088103473186493,-0.001076154294424,-0.004553743638098,0.089087471365929,-0.175928607583046,0.052022591233253,-0.065721265971661) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.034039765596390,0.083218686282635,0.037419334053993,0.040222004055977,0.026825442910194,-0.209782525897026,-0.053676392883062,0.015474442392588,0.042576950043440,-0.133124902844429,0.087042093276978,-0.132059231400490,0.219720512628555,-0.007685309275985,-0.080123834311962,-0.130288451910019) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.020852265879512,0.100778676569462,-0.057548128068447,0.055239345878363,-0.026092451065779,-0.127845764160156,-0.018862618133426,-0.005827061831951,0.152485355734825,0.003854300593957,0.059337124228477,-0.024648303166032,0.094517633318901,-0.027191981673241,-0.090608485043049,-0.070952057838440) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.017928598448634,-0.155959725379944,0.010158832184970,-0.127457022666931,-0.227441594004631,-0.112465701997280,-0.208541452884674,-0.058533422648907,-0.047734476625919,-0.041491862386465,0.042833410203457,-0.076866067945957,0.080808587372303,-0.198051854968071,-0.002560338005424,0.068959929049015) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.055951651185751,0.292859643697739,0.167920798063278,-0.136241868138313,-0.149716451764107,-0.025159610435367,-0.012828754261136,-0.010377960279584,0.265723049640656,0.059202976524830,-0.078038923442364,0.185804784297943,0.055135875940323,0.042245667427778,0.321708440780640,-0.078744314610958) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.118767052888870,0.098372071981430,-0.031429808586836,0.114468351006508,-0.210667505860329,-0.101131677627563,-0.105312906205654,0.095745660364628,-0.240080043673515,0.093051999807358,0.150926187634468,0.042943026870489,-0.075381733477116,0.098999015986919,0.013667830266058,-0.130568355321884) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.074359126389027,0.122921235859394,0.049896560609341,-0.104242503643036,-0.162214249372482,-0.027419479563832,0.134052321314812,-0.031174387782812,0.105846121907234,-0.093878686428070,-0.300096035003662,0.062795534729958,0.001430880511180,0.081747099757195,-0.006381653714925,-0.090056113898754) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.008460609242320,0.292711228132248,0.125668987631798,0.001879979623482,-0.165211781859398,0.004733255133033,0.118676416575909,0.054670982062817,0.151041463017464,0.334486365318298,-0.212955534458160,-0.078214347362518,0.031083110719919,-0.184194564819336,-0.107240892946720,0.003378755412996) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.162952646613121,-0.164438784122467,0.084127016365528,0.112808004021645,-0.246744856238365,0.102047458291054,0.088235318660736,0.101362109184265,0.042527046054602,-0.115857385098934,-0.016410574316978,-0.075472146272659,-0.057328213006258,0.130046203732491,-0.037122361361980,0.006338244304061) * MODEL4_texOff(vec2(1,1));
res += mat4(0.195505023002625,-0.008249018341303,-0.085319355130196,0.073829121887684,-0.028310259804130,-0.249080032110214,-0.051447011530399,-0.055130526423454,0.090576276183128,-0.110896579921246,0.125900119543076,-0.028784805908799,0.020379889756441,-0.220634356141090,-0.031617950648069,0.126921474933624) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.053367912769318,0.057040691375732,0.003549235640094,-0.215506151318550,-0.069864109158516,-0.113233022391796,-0.044332377612591,-0.118507899343967,0.022534534335136,-0.012476160191000,-0.119394317269325,-0.048607334494591,0.025990340858698,0.140723526477814,-0.113010212779045,0.015126982703805) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.110385313630104,0.035223815590143,-0.031360980123281,-0.147977724671364,0.037399172782898,0.012939156033099,-0.008726256899536,-0.196719184517860,0.009634988382459,-0.188848376274109,0.106519378721714,-0.160921514034271,-0.208616599440575,-0.166812285780907,-0.012719584628940,0.038486618548632) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.080904141068459,0.075932741165161,0.052691232413054,-0.211768805980682,-0.159305244684219,-0.051142692565918,0.106261707842350,-0.178101778030396,-0.093533165752888,-0.083477810025215,-0.026847874745727,-0.036151062697172,0.073063068091869,-0.236058726906776,0.003857382573187,-0.026664663106203) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.074720442295074,-0.166567459702492,0.138317108154297,0.012372872792184,-0.071070455014706,-0.180683627724648,-0.135628834366798,-0.130824282765388,-0.035032372921705,-0.090526320040226,-0.027077991515398,0.044440839439631,0.207116916775703,-0.033631455153227,0.054336003959179,-0.002209962345660) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.068607352674007,0.202145278453827,-0.175004437565804,-0.166725993156433,-0.090517252683640,-0.127250999212265,-0.205174967646599,-0.119188770651817,0.055278319865465,-0.030791047960520,-0.043137047439814,-0.196961238980293,0.014251939952374,-0.178670093417168,-0.012858371250331,-0.071966946125031) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.008050154894590,0.272493749856949,0.091261282563210,-0.102404706180096,0.004715679679066,-0.243350282311440,-0.111613474786282,-0.059216398745775,-0.009853759780526,0.172183215618134,0.105938084423542,-0.113485343754292,0.128019258379936,-0.080886110663414,0.050479467958212,-0.101494513452053) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.177564010024071,-0.368833184242249,0.144239559769630,-0.026286860927939,0.058262780308723,0.009417723864317,-0.114338979125023,0.187435179948807,-0.051121760159731,-0.047077696770430,0.088217817246914,-0.245202943682671,0.230587974190712,-0.194725960493088,-0.015808803960681,-0.118603236973286) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.042693149298429,0.116093993186951,0.092955783009529,0.040706086903811,0.125382333993912,-0.024076417088509,-0.248919591307640,0.006728754844517,-0.040349226444960,0.208209306001663,0.021005097776651,-0.077348932623863,0.089837133884430,0.084689743816853,0.036974422633648,-0.186944067478180) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.002591330790892,0.194988533854485,0.074120387434959,0.021052656695247,0.106201887130737,0.011359405703843,-0.096808150410652,0.068077728152275,0.073728345334530,-0.055397275835276,-0.091058015823364,0.073076628148556,-0.028897583484650,-0.026136832311749,0.043335780501366,-0.103812068700790) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.070097811520100,0.106016062200069,0.030041048303246,0.025534257292747,0.050500370562077,-0.009480268694460,-0.008106835186481,0.131483718752861,0.037306897342205,-0.038788747042418,0.108345746994019,-0.042497374117374,0.097271680831909,-0.070402830839157,-0.034520678222179,-0.081851221621037) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.005170576740056,0.013746629469097,0.175348103046417,-0.097305960953236,0.113310150802135,-0.103323705494404,-0.042669914662838,0.135191097855568,0.109998449683189,-0.145111992955208,0.053364187479019,0.163716971874237,0.069993674755096,0.033409852534533,-0.118804320693016,-0.039646405726671) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.092403993010521,0.245761260390282,0.034717720001936,0.010206149891019,0.352285891771317,0.065055012702942,-0.152708485722542,0.094692006707191,0.023379571735859,0.001264212769456,-0.016369318589568,-0.055682923644781,-0.031952828168869,-0.030241439118981,0.079144835472107,-0.065904952585697) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.224770337343216,0.349268138408661,0.027229947969317,-0.013300858438015,0.129830405116081,-0.070066668093204,-0.067597977817059,0.147164672613144,-0.016977308318019,-0.201339602470398,-0.046455431729555,0.263289749622345,0.027392655611038,0.046822626143694,0.057252220809460,-0.002020714338869) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.025311734527349,-0.072169855237007,0.142572060227394,-0.167884126305580,0.020402444526553,-0.045730452984571,-0.050950262695551,0.101736359298229,0.107647582888603,-0.109156988561153,-0.183892011642456,-0.075169809162617,-0.016109360381961,-0.086253590881824,0.008970711380243,0.126603782176971) * MODEL6_texOff(vec2(0,1));
res += mat4(0.031915597617626,0.275481432676315,0.056075915694237,-0.072248235344887,-0.124824695289135,0.031543012708426,0.049833022058010,0.065247207880020,-0.018782094120979,-0.016380645334721,-0.045282118022442,0.066284835338593,0.033741835504770,-0.081742458045483,0.079050377011299,-0.088285624980927) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.011162416078150,-0.018821198493242,0.197627186775208,0.011884164065123,0.009306902065873,-0.034672923386097,-0.123315483331680,0.015845200046897,0.143534615635872,-0.124431580305099,0.023376377299428,0.004083680920303,0.030823905020952,-0.008924515917897,0.013056690804660,0.002626194152981) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.041312385350466,0.365442395210266,0.105800002813339,-0.068392597138882,0.031798537820578,0.014099574647844,0.057827517390251,0.023428093641996,0.071308456361294,-0.080938518047333,-0.122838214039803,-0.001088738674298,-0.078946717083454,-0.028608376160264,0.060220781713724,0.112332388758659) * MODEL6_texOff(vec2(1,1));
res += FEATURE1_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.299215644598007,0.011567546054721,0.315172076225281,0.905786335468292) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE2
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 4_2

vec4 hook()
{
vec4 res = vec4(0.069877706468105,-0.039704389870167,-0.051728248596191,-0.004402168560773);
res += mat4(-0.136933743953705,0.116955511271954,-0.038945388048887,-0.172763392329216,-0.184390872716904,-0.111392028629780,0.080685608088970,-0.111455924808979,0.055555794388056,-0.092037633061409,-0.121801935136318,0.000273354700767,-0.005660566035658,-0.180012717843056,0.270606130361557,0.009230267256498) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.003006527433172,-0.163900747895241,-0.053076814860106,-0.117237471044064,-0.059040058404207,0.097099132835865,-0.022015318274498,-0.111926093697548,-0.009874745272100,-0.173006132245064,0.064283475279808,0.016906013712287,0.196460157632828,-0.021753339096904,0.130468964576721,-0.154118418693542) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.225613430142403,0.082563310861588,-0.125616893172264,-0.245366305112839,-0.122614979743958,0.019184432923794,0.033090509474277,0.033583216369152,0.027095656841993,0.081548735499382,0.036404505372047,0.084410324692726,0.059538524597883,-0.004910467658192,0.307397723197937,0.163042068481445) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.109598994255066,-0.040196362882853,0.061267469078302,-0.057935561984777,-0.122277468442917,-0.072590008378029,0.086667180061340,-0.030357716605067,0.157858967781067,0.005073121748865,0.035821650177240,0.015159081667662,-0.062672249972820,-0.120417550206184,0.073089674115181,-0.012444898486137) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.023999283090234,-0.043178878724575,-0.042255323380232,-0.016397546976805,0.005460788030177,0.007302033714950,-0.004780016373843,-0.032238092273474,0.047173887491226,-0.033379387110472,0.034856457263231,0.079048044979572,0.138222187757492,-0.121476203203201,0.274311661720276,-0.053398884832859) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.156887248158455,0.029174329712987,-0.039183296263218,-0.155365973711014,0.069183439016342,-0.034183185547590,-0.189659476280212,0.081899628043175,0.128767579793930,0.067568942904472,0.169772908091545,-0.078286394476891,0.061784155666828,-0.237920612096786,0.268294334411621,0.106887169182301) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.227145969867706,-0.042187601327896,-0.070264086127281,-0.135389015078545,-0.224168181419373,0.077324368059635,-0.004433815367520,-0.173880651593208,-0.017339296638966,0.050492703914642,-0.029419057071209,0.208975881338120,-0.121664941310883,-0.107728891074657,0.109843641519547,-0.028383148834109) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.292729169130325,0.041441477835178,-0.065204091370106,-0.078499868512154,-0.020557906478643,-0.019875261932611,-0.058126788586378,-0.080007717013359,-0.152932256460190,-0.027686266228557,-0.139890715479851,0.007296997122467,0.110700033605099,-0.050146117806435,0.283441096544266,-0.018602220341563) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.194937348365784,-0.015205848962069,-0.081881456077099,-0.093514926731586,-0.062058217823505,0.079674050211906,-0.123979955911636,0.193659096956253,0.028761215507984,0.044610731303692,-0.101394429802895,0.122230909764767,0.000217174354475,-0.071039952337742,0.250027954578400,0.115976758301258) * MODEL1_texOff(vec2(1,1));
res += mat4(0.073625810444355,-0.044483363628387,0.045462138950825,0.168175354599953,0.076788261532784,-0.017422666773200,-0.086885884404182,-0.048922866582870,-0.073325663805008,0.408870577812195,0.029548393562436,-0.012091420590878,0.042411774396896,0.145503774285316,0.087391830980778,-0.127464562654495) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.088972762227058,-0.140800118446350,0.100280098617077,0.066612474620342,-0.060841377824545,-0.172081276774406,0.259540110826492,0.063432149589062,0.070760302245617,-0.136203825473785,0.004780494607985,0.025823296979070,0.107972718775272,-0.263569712638855,-0.158149659633636,0.086039721965790) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.090459644794464,0.018533729016781,-0.152753680944443,-0.031007679179311,-0.064831137657166,-0.185159936547279,0.255919396877289,0.067628905177116,0.171320065855980,-0.064736731350422,-0.084114335477352,0.102662339806557,0.198079288005829,-0.028898600488901,-0.113072328269482,0.049374319612980) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.006210084538907,0.074669912457466,-0.122726559638977,0.068622082471848,-0.010007096454501,0.009411825798452,0.140904396772385,0.000151501924847,-0.023434109985828,0.224578559398651,0.066237099468708,-0.078936301171780,0.025150351226330,-0.112986601889133,0.122044704854488,-0.089631333947182) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.004903037566692,0.060653734952211,0.035352800041437,-0.009328314103186,-0.026724880561233,-0.175496771931648,0.089156553149223,0.157026529312134,0.131066262722015,-0.122288413345814,0.008393982425332,-0.106469362974167,0.205552384257317,-0.374861836433411,-0.002984544727951,0.151508644223213) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.027195686474442,0.036668147891760,-0.192524924874306,0.042288765311241,-0.103086195886135,-0.304521203041077,0.042866494506598,-0.052862439304590,-0.052594721317291,0.055776309221983,-0.171304270625114,0.070660270750523,0.145556598901749,-0.034838899970055,-0.090963758528233,0.023752326145768) * MODEL2_texOff(vec2(0,1));
res += mat4(0.161460369825363,-0.001159970881417,-0.102027595043182,0.003274109214544,0.011726378463209,0.054415028542280,0.093953289091587,0.035852387547493,0.088523328304291,0.112206108868122,0.097081966698170,-0.220533221960068,0.069537378847599,-0.034767542034388,0.101093158125877,0.003233172697946) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.137260019779205,-0.016576547175646,-0.028152223676443,-0.093062274158001,-0.098171345889568,-0.140909582376480,0.114200569689274,0.167834207415581,0.052055768668652,0.016744550317526,-0.079065993428230,0.137431174516678,0.149141356348991,-0.190097272396088,0.021839018911123,-0.125927895307541) * MODEL2_texOff(vec2(1,0));
res += mat4(0.062363736331463,0.088631220161915,-0.143347904086113,-0.012819375842810,-0.082687929272652,-0.217660769820213,0.049003671854734,-0.096892729401588,0.091923609375954,0.111199803650379,0.090920180082321,-0.011593827977777,0.099235519766808,0.008480126038194,-0.079178251326084,0.001495760749094) * MODEL2_texOff(vec2(1,1));
res += mat4(0.108127035200596,-0.244481146335602,0.241933763027191,0.060759138315916,-0.066328689455986,0.009237155318260,0.059334225952625,-0.086763285100460,0.038611765950918,0.129808202385902,-0.195562988519669,0.025600282475352,0.019048646092415,0.073997944593430,0.051105611026287,0.114736318588257) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.150837495923042,-0.089295245707035,-0.124546937644482,-0.058148648589849,0.095444247126579,0.096773259341717,-0.181723207235336,0.021711433306336,0.083451971411705,0.201496124267578,-0.393255650997162,0.053230468183756,0.186017081141472,0.080328196287155,-0.081908233463764,-0.087407089769840) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.054205313324928,-0.071455925703049,0.180189311504364,-0.114646166563034,-0.056239530444145,-0.039480298757553,0.217123374342918,0.000104665377876,0.101680994033813,-0.120809182524681,-0.486179888248444,0.032219301909208,0.116452395915985,-0.232093319296837,-0.041030619293451,-0.025280730798841) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.165058642625809,-0.233713954687119,-0.043970827013254,-0.011289906688035,-0.002815637970343,-0.214325621724129,0.175853148102760,-0.039773236960173,-0.071012102067471,0.222449481487274,-0.337451338768005,0.051604706794024,-0.252372503280640,-0.173836171627045,-0.059456508606672,0.188422664999962) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.035151410847902,-0.148371607065201,-0.080912955105305,-0.204071730375290,0.223802715539932,0.079805746674538,-0.280854433774948,0.003826951142401,0.084249347448349,-0.048818543553352,-0.365780979394913,0.041973117738962,0.109825104475021,-0.111545778810978,0.036331232637167,0.180051848292351) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.106502912938595,0.195895269513130,-0.122776530683041,-0.008514232002199,0.024891333654523,-0.042599927634001,0.347826987504959,0.135317474603653,0.162677899003029,0.003930572420359,-0.350137233734131,-0.030308660119772,-0.046384181827307,0.091730147600174,-0.090311437845230,-0.080853611230850) * MODEL3_texOff(vec2(0,1));
res += mat4(0.153366029262543,0.044255942106247,-0.050516102463007,-0.040041286498308,0.183559432625771,0.006517131812871,0.060136098414660,0.053865864872932,-0.120977587997913,0.073741853237152,-0.214063033461571,-0.059897840023041,-0.236740052700043,0.017429649829865,-0.064461305737495,-0.083528369665146) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.204241171479225,-0.086215525865555,0.185857102274895,0.138456866145134,0.123183242976665,0.036743525415659,0.049598507583141,0.062152508646250,-0.012191096320748,0.007482080254704,-0.323445230722427,0.073999218642712,-0.086999349296093,-0.008606700226665,0.133352577686310,-0.060679096728563) * MODEL3_texOff(vec2(1,0));
res += mat4(0.052382096648216,0.021721668541431,0.020766416564584,-0.147972017526627,-0.004662845749408,-0.033976517617702,0.199739515781403,0.095798805356026,0.044151503592730,0.017937997356057,-0.189093202352524,0.050449967384338,-0.082894563674927,-0.035884179174900,-0.052812661975622,-0.133536115288734) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.087933547794819,0.171364516019821,-0.193699464201927,0.023796821013093,0.150812506675720,0.071931809186935,-0.012277022935450,0.117680288851261,-0.185940876603127,0.214141219854355,-0.054206646978855,-0.018642641603947,-0.124618165194988,-0.167464002966881,-0.082247421145439,-0.030648119747639) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.023760939016938,0.142688319087029,-0.169883728027344,0.034183263778687,0.152296081185341,-0.038606259971857,0.022383153438568,0.230876863002777,-0.007761653978378,-0.192345976829529,0.076229669153690,0.039629839360714,-0.232943668961525,-0.172874793410301,-0.081544719636440,0.019648618996143) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.016195101663470,0.252089232206345,-0.162432402372360,0.010910493321717,0.204554617404938,-0.123975686728954,-0.079306527972221,0.044595766812563,-0.011886623688042,-0.035341016948223,-0.001929487916641,0.008907362818718,0.005616998299956,0.002369058318436,-0.174949035048485,-0.020714001730084) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.074386432766914,-0.062410075217485,-0.208255156874657,0.042705953121185,0.039250053465366,-0.105530105531216,-0.101059712469578,0.258638948202133,0.059695847332478,0.207735523581505,-0.010244366712868,-0.049447737634182,-0.052512478083372,-0.086154736578465,-0.088875517249107,0.070374265313148) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.008398392237723,0.122580967843533,0.094504587352276,-0.003954718820751,0.128320246934891,-0.097643464803696,-0.083538599312305,0.257828652858734,0.051051989197731,0.272699207067490,-0.309518843889236,-0.057537954300642,0.054214537143707,0.086961619555950,0.151208341121674,-0.045462243258953) * MODEL4_texOff(vec2(0,0));
res += mat4(0.045998200774193,0.065655194222927,-0.011997566558421,-0.047253601253033,0.104706659913063,-0.146476656198502,-0.153293341398239,0.169865295290947,0.116931214928627,-0.103428810834885,0.030682889744639,0.053777955472469,0.145782157778740,0.102928534150124,0.090948164463043,0.110580019652843) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.106646426022053,-0.019043641164899,-0.078523546457291,-0.004291001707315,0.052613597363234,-0.088466614484787,-0.077997893095016,0.174321025609970,-0.189423650503159,-0.111113779246807,0.066507168114185,-0.132051900029182,-0.148675069212914,0.153881952166557,0.017161259427667,0.075790211558342) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.129458233714104,0.187430456280708,-0.278324276208878,-0.034229803830385,0.154880344867706,-0.100417345762253,-0.039988912642002,0.165979549288750,0.038457874208689,0.052037406712770,-0.038841307163239,-0.254997521638870,-0.235193535685539,-0.079639881849289,0.093928135931492,0.134580403566360) * MODEL4_texOff(vec2(1,0));
res += mat4(0.118903167545795,0.198726832866669,0.102386265993118,-0.015742357820272,0.230070486664772,-0.113143615424633,-0.110656708478928,0.156643718481064,-0.004754429217428,-0.143235504627228,0.020507179200649,-0.166920706629753,-0.030709061771631,-0.050311151891947,-0.084332525730133,-0.152291506528854) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.135838165879250,-0.103815868496895,-0.015299937687814,-0.042262203991413,0.042151838541031,0.071579135954380,0.111410856246948,-0.088517375290394,0.014050518162549,0.200305014848709,0.123365022242069,0.105611845850945,-0.031042240560055,0.177921444177628,0.094176173210144,-0.170029014348984) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.033558279275894,-0.108146354556084,0.161316454410553,0.007560150232166,0.040423035621643,0.338651150465012,0.088967971503735,-0.103590667247772,0.101233206689358,-0.079867362976074,-0.045368272811174,0.173969328403473,-0.005903116427362,0.224080815911293,-0.147823274135590,-0.121442995965481) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.133902102708817,0.051320075988770,-0.065704107284546,-0.047251354902983,0.031620301306248,0.002794039202854,0.023675369098783,0.054976873099804,-0.065488524734974,-0.005310848820955,-0.042981311678886,-0.044849622994661,-0.082946784794331,0.155984148383141,0.022980064153671,0.046109039336443) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.116715222597122,0.038350339978933,0.187994152307510,-0.097650222480297,0.143777653574944,0.551108121871948,-0.012919029220939,0.183991909027100,0.341281920671463,-0.039879884570837,-0.073255479335785,0.003972096834332,-0.126710414886475,-0.006052736658603,0.018730856478214,-0.065305620431900) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.049078881740570,-0.193968281149864,0.025165118277073,0.137909755110741,0.103777252137661,0.191799268126488,0.023276375606656,0.346950709819794,0.066860817372799,-0.013926014304161,-0.188390001654625,-0.071297541260719,0.003994659520686,-0.275716394186020,0.005160454194993,0.041702840477228) * MODEL5_texOff(vec2(0,0));
res += mat4(0.200582340359688,-0.067217774689198,0.062420107424259,0.110897041857243,-0.133443877100945,0.016403386369348,-0.087004892528057,0.072405271232128,-0.138864889740944,0.017452424392104,0.042639717459679,-0.070174120366573,-0.115452885627747,0.035841934382915,-0.053734675049782,-0.066708974540234) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.083897657692432,0.015583955682814,0.017790740355849,-0.039096947759390,-0.104438498616219,-0.071616992354393,-0.019087435677648,0.103414855897427,0.131495133042336,-0.031178567558527,-0.028733609244227,-0.057218246161938,0.060136664658785,0.036802347749472,0.034307081252337,-0.184059813618660) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.112670183181763,-0.189439386129379,0.133813649415970,0.064078666269779,0.008997163735330,0.000834231555928,-0.031810648739338,-0.264319717884064,0.091695927083492,-0.029140818864107,-0.088528692722321,0.102342560887337,-0.027540957555175,-0.075436510145664,0.005471116397530,-0.020765991881490) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.021801609545946,-0.061397932469845,0.032192617654800,-0.112197168171406,-0.030195910483599,0.163738861680031,-0.024401301518083,-0.120448760688305,-0.045487541705370,-0.033589348196983,-0.140011787414551,-0.148922577500343,-0.029887424781919,0.000213851599256,0.036233272403479,-0.075228482484818) * MODEL5_texOff(vec2(1,1));
res += mat4(0.023238612338901,-0.034878253936768,-0.174853444099426,-0.029484523460269,0.009140219539404,-0.019338613376021,-0.081775784492493,-0.074073784053326,0.232081145048141,0.100602269172668,-0.071368858218193,0.023819118738174,-0.107502363622189,0.069504275918007,-0.070616491138935,-0.049710940569639) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.072122298181057,0.005798823665828,0.005636039189994,0.041058614850044,0.048854324966669,-0.075465723872185,0.259715557098389,-0.048787035048008,0.086908690631390,0.095193088054657,0.070783428847790,0.060091678053141,-0.136242717504501,0.012319096364081,-0.056525859981775,-0.109543517231941) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.025058660656214,0.074615471065044,0.018010916188359,-0.013430337421596,-0.150366500020027,-0.050689548254013,-0.029126094654202,0.043624486774206,0.079046048223972,-0.059630215167999,-0.077483788132668,-0.131176859140396,-0.024221871048212,-0.067311465740204,0.008230617269874,0.023023497313261) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.217207044363022,0.111488863825798,0.002417320851237,0.052163325250149,-0.197122931480408,-0.111566692590714,-0.133554294705391,0.045851331204176,0.028405524790287,0.099466226994991,0.152539104223251,-0.072463609278202,-0.112156867980957,0.017173901200294,0.119432821869850,-0.047165568917990) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.089602246880531,0.234050199389458,-0.130989789962769,-0.061975605785847,0.095895498991013,0.036857273429632,-0.165506228804588,-0.059950184077024,0.079969227313995,0.081195369362831,0.056464925408363,0.029054846614599,-0.072335936129093,0.095194905996323,-0.058487024158239,-0.063380599021912) * MODEL6_texOff(vec2(0,0));
res += mat4(0.081979654729366,0.069603174924850,0.031638938933611,-0.058542832732201,0.004617311991751,-0.052525945007801,0.132471859455109,0.157345488667488,-0.077869594097137,0.047281973063946,0.064188867807388,0.007114463485777,-0.014389369636774,0.002789179328829,0.061405044049025,-0.003347285324708) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.102560214698315,0.158881574869156,-0.160366341471672,-0.045896343886852,-0.054441101849079,0.064305149018764,0.147732406854630,0.092122822999954,0.051516231149435,-0.002900562947616,0.101317375898361,0.073845379054546,-0.078922912478447,-0.046272139996290,-0.000798732973635,-0.100133940577507) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.136803284287453,0.142505928874016,-0.095262415707111,0.194119408726692,-0.003039368893951,-0.048184711486101,0.119286008179188,0.349708080291748,0.008046531118453,0.117864280939102,0.027653519064188,0.030432507395744,0.017419064417481,-0.009926039725542,-0.164704263210297,0.080294124782085) * MODEL6_texOff(vec2(1,0));
res += mat4(0.008230719715357,-0.036835364997387,-0.091179758310318,-0.008943811990321,-0.020673522725701,-0.011580131947994,-0.050993263721466,0.047408677637577,0.037545386701822,0.031011201441288,-0.078443616628647,-0.060749378055334,0.031087212264538,-0.032963972538710,0.029899882152677,0.103318668901920) * MODEL6_texOff(vec2(1,1));
res += FEATURE2_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.270605295896530,-0.007050554733723,-0.017821926623583,0.851818025112152) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE3
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 4_3

vec4 hook()
{
vec4 res = vec4(-0.503831207752228,-0.060780815780163,-0.079209484159946,-0.028089554980397);
res += mat4(-0.016006233170629,-0.007721066009253,0.039322335273027,0.079149000346661,0.040896527469158,-0.029268037527800,0.139961600303650,0.033744297921658,-0.087209306657314,-0.039676517248154,-0.079174377024174,-0.001132170786150,-0.011098602786660,-0.084416896104813,-0.074768371880054,0.025093417614698) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.027003543451428,0.131031706929207,0.046827837824821,0.083592385053635,0.098693519830704,0.193963795900345,0.116147629916668,0.025652194395661,0.095675259828568,-0.134823739528656,-0.024454567581415,-0.017472129315138,0.028852041810751,-0.019365172833204,-0.069769799709320,0.119578264653683) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.024403490126133,0.029608394950628,0.029912043362856,0.070486411452293,0.049770228564739,0.105726316571236,0.051112242043018,0.071538358926773,-0.030957810580730,0.096579961478710,-0.047257326543331,-0.008842559531331,0.059687823057175,0.139896079897881,-0.053896896541119,0.005409426987171) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.002480435417965,0.076917715370655,0.101250268518925,0.089352197945118,0.119586765766144,0.114053875207901,0.178736090660095,0.112083829939365,-0.091139249503613,-0.144557937979698,-0.153142869472504,0.007678897120059,-0.018785830587149,-0.184263780713081,0.112070843577385,-0.056867275387049) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.049653295427561,0.061301849782467,0.127939179539680,0.006222426425666,0.032556835561991,0.024160332977772,-0.085873469710350,0.035946305841208,-0.012066346593201,0.005646131932735,-0.081974700093269,-0.152139022946358,0.156618565320969,-0.189636468887329,0.095342218875885,0.018034927546978) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.000768915051594,-0.018637910485268,0.057948283851147,0.173016577959061,-0.098213985562325,0.197049662470818,-0.069814175367355,-0.083614133298397,0.222856044769287,-0.032825667411089,-0.102972418069839,-0.083683125674725,0.085627548396587,0.268597453832626,-0.139972433447838,-0.078435160219669) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.037937633693218,-0.053643368184566,0.000265440758085,0.135942518711090,0.070241130888462,-0.012744028121233,0.134874731302261,0.108850076794624,-0.082927115261555,-0.107809193432331,-0.156170666217804,-0.090603478252888,0.031373754143715,-0.211114928126335,0.088601402938366,-0.050687938928604) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.009954547509551,-0.087452106177807,0.053087152540684,0.067250251770020,0.013891119509935,0.094586320221424,-0.125711753964424,0.022899024188519,-0.109204262495041,0.018531955778599,-0.045229766517878,-0.146264538168907,-0.001461969804950,0.102380543947220,-0.028071256354451,0.045936092734337) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.043426670134068,-0.011037350632250,0.005488551221788,0.055688567459583,0.018780363723636,-0.044849194586277,-0.073740221560001,0.040158420801163,-0.016750814393163,0.029364267364144,0.013641014695168,-0.042767219245434,-0.037425249814987,-0.050138346850872,0.054951202124357,0.119814045727253) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.004872865974903,0.012328459881246,0.045240603387356,-0.031514577567577,0.033907990902662,0.168940946459770,0.002497150795534,0.009445569477975,0.051674339920282,-0.161247521638870,-0.011522515676916,-0.020322557538748,-0.041853114962578,-0.155538782477379,0.087841346859932,-0.021143838763237) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.090725556015968,0.076595574617386,0.130040168762207,0.025408811867237,-0.100163787603378,0.123164780437946,0.176037922501564,-0.057934850454330,0.081265471875668,-0.140644684433937,-0.121496565639973,-0.071327313780785,0.087348155677319,0.093945562839508,-0.109185725450516,-0.021616665646434) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.125150501728058,0.059072379022837,-0.077614866197109,0.121546998620033,0.017441168427467,-0.093010582029819,0.064048662781715,0.033790785819292,0.135524272918701,0.041744645684958,0.064959675073624,-0.109081573784351,0.067770153284073,-0.252969473600388,-0.092143073678017,-0.002716184360906) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.212321028113365,0.072884298861027,0.187708333134651,-0.107408434152603,0.144614800810814,-0.069745518267155,-0.111128307878971,0.110697343945503,0.049989044666290,-0.078501656651497,-0.135003805160522,0.050216078758240,0.049551356583834,0.146054506301880,-0.046995975077152,-0.046050246804953) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.006801097653806,0.115185461938381,0.075059957802296,0.104687407612801,0.034234501421452,-0.021746294572949,-0.016293844208121,0.018246268853545,-0.120545171201229,0.005008481442928,0.201150894165039,-0.178158804774284,0.020615411922336,0.102273948490620,-0.004003359470516,-0.036278583109379) * MODEL2_texOff(vec2(0,0));
res += mat4(0.071716241538525,0.108869083225727,0.091163367033005,-0.156206697225571,-0.017614869400859,-0.074895218014717,0.038293596357107,0.060190267860889,0.107099443674088,0.108449786901474,0.034347705543041,-0.039584234356880,0.074656911194324,0.024665866047144,0.157105430960655,-0.189137935638428) * MODEL2_texOff(vec2(0,1));
res += mat4(0.006450312212110,-0.004149116110057,0.201554119586945,-0.061920572072268,0.005715476348996,-0.022303380072117,-0.072249285876751,0.024360759183764,-0.043916150927544,0.023381751030684,-0.075865231454372,0.179237514734268,0.146881669759750,0.118611656129360,-0.013003020547330,-0.053093742579222) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.017471415922046,0.137083783745766,0.007089973893017,0.036978203803301,0.060834731906652,-0.033502008765936,0.040115825831890,-0.031543783843517,-0.201296925544739,0.079917415976524,-0.012450823560357,-0.041675146669149,0.009271010756493,0.134158357977867,0.109544597566128,-0.009667306207120) * MODEL2_texOff(vec2(1,0));
res += mat4(0.105532594025135,0.060290541499853,0.156728670001030,0.068052440881729,0.004713869653642,-0.068583212792873,-0.008326533250511,0.023430902510881,0.057577587664127,-0.015324063599110,-0.022816551849246,0.020282350480556,0.106901645660400,-0.026308823376894,0.017752220854163,0.061880599707365) * MODEL2_texOff(vec2(1,1));
res += mat4(0.047984153032303,0.063593603670597,-0.056297127157450,0.009746047668159,-0.025676118209958,-0.029978983104229,-0.112830258905888,0.049007095396519,0.013784429058433,-0.141848862171173,0.035613920539618,-0.095225907862186,-0.091280907392502,-0.080685250461102,-0.064857676625252,-0.008599518798292) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.087352827191353,0.036463599652052,-0.038092035800219,-0.003782377112657,0.065400511026382,0.027104221284389,-0.042792394757271,-0.048084996640682,-0.165456980466843,-0.053260456770658,-0.021715931594372,-0.098404094576836,-0.002283018082380,-0.131974652409554,-0.049454934895039,-0.089941248297691) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.007322940044105,-0.162341460585594,0.098233141005039,-0.025645414367318,0.032976135611534,-0.019894054159522,-0.083076238632202,0.052764382213354,-0.163847193121910,0.044315390288830,-0.040334656834602,-0.095006570219994,-0.008249751292169,-0.105703487992287,-0.106504671275616,0.038522370159626) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.143383026123047,-0.140596583485603,0.139822155237198,-0.075490929186344,-0.050565399229527,0.209950670599937,-0.121857583522797,0.106883108615875,0.118125885725021,0.068888969719410,-0.121120229363441,-0.099298752844334,0.027978681027889,-0.078729368746281,-0.024742504581809,-0.318403095006943) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.089647330343723,0.286802619695663,0.043927740305662,0.098333023488522,-0.004774169530720,0.050691314041615,-0.415986984968185,0.012446223758161,0.156769037246704,-0.027171889320016,0.004360444843769,-0.100885778665543,0.318854779005051,-0.072955951094627,0.069358229637146,0.134218141436577) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.211706399917603,-0.053207524120808,0.125492453575134,0.055404029786587,0.083377897739410,0.056799102574587,-0.205875605344772,0.041523229330778,-0.112044706940651,0.096285372972488,-0.089878670871258,-0.069477543234825,0.103221066296101,0.077583543956280,0.044238802045584,-0.151464417576790) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.086528256535530,-0.042731799185276,-0.043064586818218,0.018946686759591,-0.005180871579796,0.106643788516521,0.009069305844605,0.110804095864296,0.003021691692993,0.025807837024331,-0.024945279583335,0.007356849964708,-0.042049575597048,-0.019404999911785,0.031264211982489,-0.007070275023580) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.187795698642731,-0.097173884510994,-0.070788450539112,0.071506567299366,0.000215744134039,-0.036951351910830,0.044681131839752,-0.122560523450375,0.057170026004314,0.039067622274160,0.068220831453800,-0.099082566797733,0.042977996170521,0.089577615261078,0.022173630073667,-0.022979620844126) * MODEL3_texOff(vec2(1,0));
res += mat4(0.004162555094808,0.013063178397715,0.037878442555666,0.049601864069700,-0.014353775419295,0.021207975223660,0.032687470316887,-0.023512892425060,-0.052380669862032,0.040604501962662,0.033086936920881,-0.056816473603249,0.000017384971216,-0.106907010078430,0.148540705442429,0.007296958006918) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.014321817085147,-0.189347892999649,-0.034130025655031,-0.024999620392919,0.036205407232046,0.072082228958607,-0.105922959744930,-0.000756643130444,-0.037858303636312,-0.138012975454330,0.050786685198545,-0.020397558808327,-0.083375230431557,-0.036236323416233,0.122052431106567,0.018724976107478) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.049824152141809,-0.047059260308743,-0.009107092395425,-0.099450461566448,-0.050951838493347,0.010057910345495,-0.104024834930897,-0.145301774144173,0.046756047755480,-0.085819691419601,0.118805855512619,-0.004276205319911,-0.080026634037495,0.062301311641932,-0.081350594758987,0.027442324906588) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.063139490783215,-0.093988195061684,0.042675249278545,-0.024468334391713,-0.089030824601650,-0.045115411281586,0.064470320940018,-0.092159174382687,-0.023287283256650,-0.038531009107828,0.192455112934113,-0.019950505346060,0.018387580290437,-0.069969356060028,-0.053600236773491,-0.034813895821571) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.058395251631737,0.078059732913971,0.007467341609299,-0.113465189933777,0.052098751068115,-0.125215604901314,-0.207817673683167,-0.187721163034439,-0.022040532901883,0.151834264397621,-0.103632248938084,0.124061726033688,-0.075959958136082,0.058782719075680,-0.025776255875826,0.003313782857731) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.051417339593172,-0.097389496862888,0.159833699464798,-0.083739101886749,-0.026895282790065,0.093860015273094,0.034938041120768,-0.209454208612442,-0.328161120414734,-0.101332642138004,0.017309905961156,-0.296171098947525,-0.024506058543921,0.104119502007961,-0.109887152910233,0.164815545082092) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.004614066332579,0.122149132192135,0.029139071702957,-0.026529869064689,-0.154623389244080,-0.016650428995490,0.080964542925358,-0.111326172947884,-0.054541390389204,0.014634326100349,0.141745954751968,0.055729519575834,-0.068724997341633,0.020487105473876,0.232213735580444,-0.107938520610332) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.043282996863127,0.024650907143950,0.011125619523227,-0.035067889839411,-0.064176052808762,-0.008067262358963,-0.197088301181793,-0.126834705471992,-0.042717210948467,0.087994344532490,-0.038130544126034,0.073219411075115,-0.006419765297323,-0.024974804371595,0.029964849352837,-0.037613574415445) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.049253921955824,0.206797868013382,0.190469041466713,0.022826686501503,0.000704781850800,0.065097436308861,-0.048685744404793,-0.187951937317848,0.142913118004799,0.080375768244267,-0.036823987960815,0.133252814412117,-0.114532828330994,-0.086519449949265,-0.036140020936728,-0.125735566020012) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.010300142690539,-0.060146037489176,0.031710762530565,0.065619327127934,-0.166444316506386,0.093536667525768,0.117060340940952,-0.110927253961563,-0.050492286682129,-0.026718217879534,-0.032554924488068,0.027612661942840,0.020282372832298,0.062983661890030,0.128343179821968,-0.028170781210065) * MODEL4_texOff(vec2(1,1));
res += mat4(0.000065804306359,0.071559563279152,0.079968459904194,-0.053418938070536,0.038319945335388,0.006847373675555,-0.087813846766949,-0.039564210921526,0.132665440440178,0.041565947234631,-0.176209390163422,0.030571371316910,0.020638208836317,0.045110486447811,-0.127847284078598,0.082492567598820) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.257586121559143,0.065736137330532,-0.044503800570965,-0.022034410387278,-0.014655575156212,-0.102653920650482,-0.055946968495846,0.022613920271397,0.146187722682953,-0.083029389381409,-0.000720884476323,0.012129302136600,-0.055100988596678,0.014328992925584,-0.096230894327164,0.053617969155312) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.149514332413673,-0.121011130511761,-0.111615240573883,0.064369641244411,0.028792155906558,0.172114536166191,0.000487997778691,-0.185598716139793,0.079818457365036,-0.032924506813288,0.032518342137337,-0.036214750260115,0.058059208095074,0.169662252068520,-0.042319849133492,-0.051778350025415) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.097138442099094,-0.032900728285313,-0.104848012328148,0.096043154597282,0.071323610842228,0.113892942667007,0.036779694259167,-0.118219904601574,0.123715057969093,-0.021073514595628,0.058592531830072,-0.081002093851566,0.005182345863432,0.196382775902748,0.164234876632690,0.015022831037641) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.114021398127079,-0.055213171988726,0.126267924904823,0.103123456239700,0.083973288536072,0.052979931235313,0.355913966894150,-0.154272064566612,0.116278655827045,-0.114866770803928,0.042550690472126,-0.144116118550301,0.085942648351192,0.184961661696434,0.033222075551748,-0.001025396981277) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.197407901287079,-0.112446151673794,-0.179302841424942,-0.083650775253773,-0.059391088783741,-0.035534195601940,0.139821857213974,0.141518861055374,0.217576295137405,0.018211735412478,0.081292800605297,0.099396735429764,0.046318210661411,-0.118422277271748,0.079128034412861,0.201350107789040) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.127379164099693,0.042759649455547,-0.059424016624689,0.003939259331673,-0.054119028151035,-0.016715614125133,0.051661700010300,-0.016673622652888,0.136586844921112,-0.080724954605103,-0.018718307837844,0.030945850536227,0.025748549029231,0.045131310820580,0.077484495937824,0.114627987146378) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.114280812442303,-0.018479445949197,-0.132019788026810,-0.065625980496407,-0.025943515822291,-0.080725125968456,-0.083983726799488,0.134349018335342,0.055688269436359,-0.086606822907925,-0.037799030542374,0.128703817725182,0.048559967428446,0.060564905405045,0.023559544235468,0.168423905968666) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.064291574060917,0.050233244895935,-0.042950730770826,-0.029116440564394,-0.018153853714466,0.005345269106328,-0.014810562133789,0.061911821365356,0.008069160394371,-0.058322861790657,-0.065522894263268,0.027672536671162,0.014784387312829,-0.008499129675329,0.017917627468705,0.062124859541655) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.086897224187851,-0.078739471733570,0.064251638948917,-0.115312263369560,0.071880325675011,0.080375932157040,0.001761068124324,0.044681906700134,0.062925755977631,0.099883794784546,-0.040637690573931,-0.042716287076473,-0.060129512101412,0.106305018067360,-0.036346863955259,0.045952361077070) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.008325382135808,-0.240755930542946,0.073053754866123,-0.013694310560822,0.019209794700146,0.197929024696350,0.045995756983757,0.017948193475604,0.186882987618446,-0.115258395671844,-0.078188002109528,-0.042776782065630,-0.068133823573589,-0.038321647793055,0.017224289476871,0.041221711784601) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.088894255459309,0.165219292044640,-0.052261143922806,-0.032192736864090,-0.001145602553152,0.137146919965744,0.020391609519720,0.053523384034634,0.125923946499825,-0.217070758342743,0.024585610255599,0.086164139211178,-0.114193759858608,0.011602773331106,-0.015908746048808,0.010638535954058) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.052102334797382,0.011591635644436,0.012578601948917,-0.095318600535393,0.035105314105749,-0.017021074891090,-0.211178556084633,0.060449976474047,0.050541196018457,0.028954733163118,0.006097522564232,-0.003531428519636,0.068317271769047,-0.009806846268475,-0.063353694975376,-0.002865384100005) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.119681753218174,-0.240588158369064,0.263890862464905,0.042338933795691,0.083436802029610,0.038013510406017,-0.485228180885315,0.032273866236210,0.072551004588604,-0.027640141546726,-0.002143146935850,-0.053093213587999,0.047644153237343,-0.015394442714751,0.070199511945248,0.024079408496618) * MODEL6_texOff(vec2(0,0));
res += mat4(0.031989507377148,-0.069076523184776,0.094601549208164,-0.004973350558430,-0.007808133494109,-0.211078211665154,-0.216650858521461,0.024569360539317,0.164578422904015,0.040013980120420,-0.027996608987451,-0.225625038146973,0.105600237846375,0.010280968621373,0.016386434435844,-0.022677928209305) * MODEL6_texOff(vec2(0,1));
res += mat4(0.090713120996952,-0.045601531863213,0.029641363769770,0.067970424890518,0.043010681867599,0.088964089751244,-0.095031931996346,-0.125547707080841,-0.022110953927040,-0.052652411162853,-0.034994602203369,-0.026210581883788,-0.062241658568382,0.118199951946735,-0.067920923233032,0.009547850117087) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.148097619414330,-0.253243267536163,0.017033483833075,-0.132439330220222,0.135448381304741,0.006923153530806,0.094002403318882,-0.227576628327370,0.059258706867695,-0.037994489073753,0.107378296554089,-0.085988201200962,-0.082032494246960,-0.024465151131153,0.063319444656372,0.004388116300106) * MODEL6_texOff(vec2(1,0));
res += mat4(0.086897872388363,0.043659195303917,0.149838283658028,-0.014101494103670,0.107595086097717,-0.037128802388906,-0.066796809434891,-0.182440385222435,0.034892998635769,0.174011662602425,0.267794609069824,-0.031362678855658,-0.054791264235973,-0.058665655553341,-0.013925566338003,-0.049449656158686) * MODEL6_texOff(vec2(1,1));
res += FEATURE3_texOff(0);
res = max(res, vec4(0.0)) + vec4(-0.003726812545210,0.861317634582520,0.829760789871216,0.979709625244141) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE4
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 4_4

vec4 hook()
{
vec4 res = vec4(-0.127760022878647,-0.029912900179625,0.055004402995110,-0.012585176154971);
res += mat4(0.005279836710542,-0.059710338711739,-0.090327233076096,-0.050038442015648,0.012313918210566,-0.090631492435932,-0.371525913476944,-0.051424100995064,-0.027197610586882,-0.027340980246663,0.143265396356583,0.274821639060974,-0.127267464995384,-0.020929556339979,0.098447605967522,0.162873804569244) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.252985090017319,-0.000513962702826,-0.094001486897469,-0.179706722497940,-0.156888440251350,0.052635919302702,-0.281681716442108,-0.037603389471769,0.041631240397692,-0.131557226181030,0.102573931217194,0.316445857286453,-0.177856475114822,-0.046528633683920,0.013855230994523,-0.069288589060307) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.046059291809797,0.037197466939688,-0.077079527080059,0.044954240322113,-0.216558918356895,0.309009045362473,-0.144429937005043,-0.139519959688187,0.205126166343689,-0.029834588989615,0.233968183398247,0.186163157224655,0.053759478032589,0.065899044275284,0.147428646683693,-0.277884930372238) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.010670674964786,0.011453092098236,-0.268518507480621,-0.001878455514088,-0.032887954264879,-0.089029498398304,-0.246781200170517,-0.066011361777782,0.017822677269578,0.009243013337255,-0.050401043146849,0.074959062039852,-0.378688693046570,-0.034016519784927,0.016888123005629,0.151839211583138) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.039579663425684,-0.001671697711572,-0.010011633858085,0.015583124943078,-0.040276981890202,0.132859736680984,-0.557535529136658,-0.018896991387010,0.093848191201687,-0.106776051223278,0.073640942573547,-0.034284841269255,-0.206888288259506,0.118044361472130,-0.080226190388203,-0.219335943460464) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.031798310577869,0.006226565223187,0.013266110792756,0.047554437071085,0.003460151143372,0.171329021453857,-0.081838704645634,-0.287789016962051,0.122712299227715,0.100890159606934,0.117175698280334,-0.010138597339392,0.084927082061768,0.024429265409708,0.021682316437364,-0.319879740476608) * MODEL1_texOff(vec2(0,1));
res += mat4(0.057650897651911,-0.048727869987488,-0.221976846456528,0.004157861229032,0.103198066353798,0.040123283863068,-0.144493758678436,-0.023854935541749,0.059562291949987,-0.033282663673162,0.078861184418201,-0.064393058419228,-0.001507312292233,-0.050082966685295,-0.106451317667961,-0.044815637171268) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.046198256313801,0.007298909127712,-0.421173989772797,-0.101225346326828,0.038220155984163,0.043680027127266,-0.193852707743645,-0.055536795407534,0.187557220458984,0.069517701864243,0.166697666049004,-0.194873616099358,-0.062351495027542,0.072545833885670,-0.075723253190517,-0.175807595252991) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.009935757145286,0.006373217795044,-0.294306814670563,-0.112215422093868,0.167743578553200,0.008058821782470,-0.158142849802971,-0.006422331091017,0.185769602656364,0.021502280607820,-0.003287516301498,-0.186531677842140,0.101486600935459,-0.088542066514492,0.160740986466408,0.109505578875542) * MODEL1_texOff(vec2(1,1));
res += mat4(0.275041371583939,0.021164087578654,-0.025740955024958,-0.050302371382713,0.004067806992680,-0.074517294764519,0.012861841358244,0.008408088237047,-0.054086927324533,-0.086002536118031,-0.045150835067034,0.044803306460381,-0.042818386107683,0.033105224370956,-0.082938931882381,0.126064822077751) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.093310788273811,-0.076804496347904,0.085043743252754,-0.221114754676819,-0.310517460107803,-0.165556266903877,-0.047971207648516,0.114568017423153,-0.027085898444057,-0.018575871363282,-0.003289435990155,0.089971236884594,-0.115721188485622,-0.124808773398399,-0.161537468433380,-0.094092123210430) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.273575395345688,-0.104520075023174,-0.051349725574255,0.023477919399738,-0.107671700417995,-0.048339385539293,-0.180624440312386,-0.186027824878693,-0.147344768047333,-0.031365200877190,-0.101850412786007,0.142577692866325,-0.005173155106604,0.035463795065880,-0.075994715094566,-0.152029305696487) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.244419544935226,-0.107271544635296,0.003390807425603,-0.066246740520000,0.009347081184387,-0.038191065192223,0.058807913213968,-0.006241599563509,0.036083646118641,-0.033725935965776,-0.191818639636040,-0.070496290922165,-0.040657531470060,0.026388529688120,-0.144838660955429,0.017582038417459) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.137326642870903,0.013568037189543,0.012765293940902,-0.071123652160168,-0.014005725272000,-0.079091839492321,-0.503600001335144,0.045240338891745,0.162097245454788,-0.098486199975014,0.059186842292547,-0.136847436428070,-0.222918793559074,-0.080925211310387,-0.276183068752289,-0.186195686459541) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.200324863195419,0.057025112211704,-0.102604366838932,0.080480031669140,-0.010083205066621,0.058413323014975,-0.391649305820465,-0.142411932349205,0.100429534912109,-0.009155816398561,0.030436454340816,-0.096935369074345,-0.060645770281553,-0.058729711920023,-0.032127723097801,-0.102738939225674) * MODEL2_texOff(vec2(0,1));
res += mat4(0.194183513522148,-0.049041643738747,0.020082952454686,-0.086601734161377,-0.069278620183468,-0.026086000725627,-0.139007642865181,0.045605167746544,0.013843798078597,0.042017553001642,-0.113795444369316,-0.127577185630798,-0.056149434298277,-0.074918322265148,-0.072124667465687,-0.042290139943361) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.028533656150103,0.021132204681635,0.075041025876999,-0.050016768276691,-0.185591503977776,-0.131001576781273,-0.197323381900787,0.053399302065372,0.055842489004135,-0.202004820108414,0.162774577736855,0.041391257196665,0.041083116084337,0.025066133588552,-0.088393919169903,-0.186089426279068) * MODEL2_texOff(vec2(1,0));
res += mat4(0.244416356086731,-0.195014491677284,0.068734526634216,0.088411062955856,-0.163926184177399,-0.084488719701767,-0.191004544496536,0.061240125447512,-0.112618081271648,-0.261611491441727,0.017238155007362,0.052405729889870,-0.029935492202640,-0.097976759076118,0.062889255583286,0.022035490721464) * MODEL2_texOff(vec2(1,1));
res += mat4(0.031725093722343,0.048172887414694,-0.112950921058655,-0.287523627281189,-0.089414998888969,0.050178565084934,-0.015943696722388,-0.142758905887604,-0.022851238027215,0.000561297871172,-0.094885699450970,0.407708644866943,-0.119056187570095,-0.016245821490884,0.092943921685219,0.063185133039951) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.260411143302917,-0.040150158107281,0.064747229218483,-0.067224971950054,0.121701672673225,-0.087462127208710,0.009876239113510,-0.119386829435825,-0.006127157714218,-0.008034639060497,0.060255672782660,0.389967381954193,0.123639501631260,0.131256312131882,0.145808860659599,-0.033152420073748) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.127679303288460,-0.204513788223267,-0.033597134053707,0.189095526933670,0.039624445140362,-0.130568549036980,0.025883724913001,-0.163095116615295,0.104813478887081,0.027727743610740,0.120925009250641,-0.371943742036819,0.179784119129181,-0.244469061493874,0.177730873227119,-0.054019730538130) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.075695671141148,-0.080252736806870,0.272309958934784,-0.127834841609001,-0.013938899151981,-0.000137622293551,0.290016978979111,0.083019129931927,-0.031349208205938,-0.043066892772913,-0.202290624380112,0.035882983356714,-0.140597343444824,-0.065231725573540,-0.028170723468065,0.085298724472523) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.052062340080738,0.024574544280767,0.072898507118225,0.079634696245193,-0.003209742484614,0.037516105920076,0.050307545810938,0.171324551105499,0.046535920351744,-0.098930433392525,-0.301839619874954,0.010974270291626,-0.028404232114553,0.293307453393936,0.058475147932768,-0.032974213361740) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.076860137283802,-0.038823645561934,-0.118874892592430,0.327986508607864,0.108718998730183,-0.199314296245575,0.071489214897156,0.135876342654228,0.116624198853970,-0.057975351810455,0.127867400646210,-0.354444950819016,0.157059952616692,-0.300038427114487,-0.090412177145481,-0.063826486468315) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.050943501293659,0.022104205563664,0.300717771053314,0.036069590598345,0.004212104715407,0.074849851429462,0.101422861218452,0.124232061207294,0.058113880455494,0.045453846454620,-0.059546448290348,-0.039739299565554,0.009166961535811,-0.033222611993551,0.045518849045038,0.041789881885052) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.016661206260324,0.032327603548765,0.244025573134422,0.283983230590820,-0.010878846980631,-0.038434915244579,0.216603085398674,0.143742337822914,0.172756835818291,0.003037213115022,-0.052332758903503,-0.019134063273668,0.061013784259558,0.126113474369049,-0.024576328694820,-0.006827448029071) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.248384952545166,0.042727563530207,-0.142666697502136,0.100104711949825,0.003788542468101,-0.065197020769119,0.224129900336266,-0.134722843766212,0.118791893124580,0.029296660795808,0.148368835449219,0.002310385927558,0.071974501013756,-0.031046753749251,0.064857237040997,0.035927861928940) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.043352905660868,-0.155455157160759,-0.002430237131193,-0.158905461430550,-0.036151114851236,-0.046181149780750,0.109157092869282,0.350172102451324,-0.014761184342206,0.000825374852866,0.011470915749669,0.161835372447968,0.106963783502579,-0.054725553840399,0.189228743314743,-0.175974503159523) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.019047921523452,0.084046110510826,-0.022624222561717,0.030552368611097,0.045434691011906,-0.138473778963089,0.110301285982132,-0.019303008913994,0.027530832216144,-0.002214003121480,0.154886186122894,0.177740484476089,0.135854646563530,-0.053813003003597,0.103587105870247,-0.018295234069228) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.074100457131863,0.243499398231506,-0.208859562873840,0.151532754302025,0.163185760378838,0.008111457340419,0.182645633816719,0.045119218528271,0.014368790201843,0.096512928605080,0.057607587426901,0.086168013513088,0.225742265582085,-0.047340765595436,0.135326802730560,-0.151602700352669) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.055514372885227,-0.056021284312010,0.063077159225941,-0.063782736659050,-0.021923437714577,0.016608010977507,-0.005364663898945,-0.057394918054342,0.004720616154373,-0.024935614317656,-0.015813458710909,0.043711803853512,0.041738115251064,-0.052501529455185,0.039289619773626,-0.125981941819191) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.173039481043816,0.174423903226852,0.346068143844604,-0.038594774901867,0.064786672592163,0.017477409914136,-0.007396338041872,-0.239944249391556,0.029970128089190,-0.286424070596695,0.100826740264893,0.055978983640671,-0.008702930063009,0.056506238877773,-0.192400872707367,-0.045577030628920) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.038256842643023,0.096936546266079,0.199610471725464,0.156306147575378,0.106086589396000,-0.051888588815928,0.201277151703835,-0.099254429340363,-0.152886211872101,-0.319642126560211,0.092441342771053,0.021028343588114,0.026939522475004,-0.020399915054440,0.406154096126556,0.192548319697380) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.008329392410815,0.006130115594715,-0.101606830954552,-0.000234850245761,0.036988828331232,-0.055074896663427,0.151231095194817,-0.029942955821753,-0.022013852372766,0.015529289841652,-0.047190845012665,0.009127222932875,0.154185414314270,-0.007323078811169,-0.171940505504608,-0.007343535777181) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.022944815456867,-0.008189358748496,0.064677909016609,0.078759580850601,0.165026903152466,-0.082408234477043,0.268546551465988,-0.073395259678364,-0.008869763463736,0.084831550717354,-0.654757618904114,-0.146846219897270,-0.096840798854828,-0.121864013373852,0.273084521293640,-0.051222082227468) * MODEL4_texOff(vec2(1,0));
res += mat4(0.064892970025539,-0.041112784296274,-0.031527481973171,0.130236864089966,0.088900767266750,-0.083934374153614,0.104706145823002,-0.001381750800647,-0.004107983317226,-0.062803305685520,0.046392522752285,-0.024310875684023,-0.074985064566135,-0.019932398572564,-0.193004429340363,-0.083836406469345) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.065893985331059,-0.071094244718552,0.142938882112503,0.115226440131664,-0.066271178424358,0.096723504364491,-0.150777891278267,0.024048635736108,0.067747324705124,0.105626061558723,-0.023597246035933,0.161959066987038,0.135934963822365,0.120010778307915,-0.092457689344883,-0.094334259629250) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.103558689355850,0.060162819921970,0.074829839169979,-0.306497365236282,0.003746042493731,0.010721332393587,0.116471707820892,0.062588915228844,0.021729281172156,-0.017091481015086,-0.026276919990778,-0.132999151945114,0.098866917192936,0.097665034234524,-0.058432638645172,0.053333695977926) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.072029970586300,0.006727056577802,0.027513349428773,-0.185134172439575,-0.139515995979309,-0.024156469851732,0.061428323388100,-0.038961071521044,-0.025800300762057,-0.007370987907052,-0.102757744491100,-0.178125321865082,-0.232224643230438,-0.133097484707832,-0.054958324879408,0.062644302845001) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.057939220219851,0.150799557566643,-0.396959275007248,-0.220029994845390,0.258655548095703,0.115981668233871,-0.099626988172531,0.032428849488497,0.051050007343292,-0.051263350993395,0.293462157249451,0.031736586242914,0.120207272469997,0.114275671541691,0.085173517465591,0.165158703923225) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.292087376117706,-0.051236860454082,-0.139063492417336,-0.375048935413361,0.023654136806726,0.090195193886757,-0.002915082965046,0.071113333106041,-0.029103711247444,-0.082317084074020,-0.115009889006615,0.066995590925217,0.192751482129097,0.143417969346046,-0.050378199666739,-0.229900628328323) * MODEL5_texOff(vec2(0,0));
res += mat4(0.052171964198351,-0.204761281609535,0.067352496087551,-0.358030825853348,0.189182266592979,0.190110936760902,-0.073460347950459,-0.121589981019497,0.090938650071621,-0.134343683719635,-0.010989925824106,-0.158083215355873,0.152653291821480,-0.178676858544350,-0.013410598039627,-0.028590083122253) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.001699410378933,0.064961761236191,-0.061453573405743,-0.093072362244129,-0.108978055417538,-0.012354871258140,0.141802221536636,-0.099758327007294,0.103280998766422,0.012423300184309,0.159809514880180,-0.017379580065608,-0.074382074177265,0.040942620486021,0.132522106170654,0.178335741162300) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.047148842364550,-0.221549257636070,0.112262673676014,-0.064222119748592,0.091240935027599,0.007849840447307,-0.034894473850727,-0.087483711540699,-0.031212670728564,-0.077633753418922,0.046051885932684,0.225699260830879,-0.015413628891110,0.113346561789513,-0.033670671284199,0.142406448721886) * MODEL5_texOff(vec2(1,0));
res += mat4(0.070042699575424,0.049118585884571,0.032352723181248,-0.166366830468178,0.200626000761986,-0.048556510359049,-0.175061732530594,0.075310580432415,-0.092063263058662,-0.037902072072029,0.072920203208923,-0.150742411613464,0.096289917826653,0.054680995643139,-0.119286715984344,0.124393507838249) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.200078994035721,0.090508252382278,-0.073299683630466,0.160750985145569,0.030476689338684,0.006612965837121,-0.101409219205379,0.107553265988827,-0.094672672450542,0.071121454238892,0.142861902713776,0.065783388912678,0.055715046823025,0.042580273002386,-0.125754758715630,-0.146881982684135) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.008942583575845,0.163531094789505,-0.039881195873022,0.298877775669098,-0.040841814130545,0.001484677428380,0.011023081839085,0.099923923611641,-0.216529220342636,-0.066440343856812,0.016039753332734,0.072960138320923,0.083905175328255,0.096514008939266,-0.080016136169434,-0.055697821080685) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.042612556368113,-0.011242071166635,0.040230382233858,-0.090192563831806,0.055531453341246,-0.113503776490688,0.027456859126687,0.011825661174953,-0.140843585133553,-0.036665756255388,-0.142518877983093,0.004117144737393,-0.101611018180847,-0.053665090352297,-0.110071130096912,0.121870689094067) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.066246472299099,0.071249321103096,-0.108926296234131,0.021116781979799,-0.070283584296703,0.001634075772017,-0.090127356350422,0.105453163385391,-0.159446775913239,0.060033533722162,-0.015247197821736,0.046740565448999,0.127650856971741,0.080874308943748,0.000990866567008,-0.099126681685448) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.000479789276142,0.055975664407015,-0.145158916711807,-0.130197539925575,0.006464201025665,-0.070801168680191,-0.028298730030656,-0.019012657925487,-0.077812746167183,-0.081836976110935,-0.019069261848927,0.030976269394159,-0.008895074948668,-0.027258880436420,0.075168222188950,-0.112513341009617) * MODEL6_texOff(vec2(0,0));
res += mat4(0.057223662734032,-0.027527462691069,0.122216857969761,-0.093108221888542,0.000021239236958,-0.308208525180817,0.106907166540623,-0.131567388772964,-0.089600481092930,0.108292929828167,-0.203475683927536,-0.157426089048386,-0.136041224002838,-0.002061276230961,-0.043939352035522,0.045423950999975) * MODEL6_texOff(vec2(0,1));
res += mat4(0.011241450905800,0.144203260540962,0.136915832757950,-0.139067426323891,-0.114290893077850,-0.010538647882640,0.085505656898022,-0.025979792699218,-0.112691633403301,0.017673879861832,-0.045144788920879,-0.012619442306459,0.000725122808944,-0.016620958223939,0.018300635740161,-0.119273155927658) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.171559616923332,-0.032810341566801,-0.265614032745361,-0.105549402534962,-0.017582647502422,-0.004566159565002,-0.063005052506924,-0.097256317734718,0.055993758141994,-0.008609329350293,-0.205417066812515,0.016726398840547,0.032654497772455,-0.054345048964024,0.024721130728722,-0.145997226238251) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.115733355283737,0.260855853557587,0.014601893723011,-0.045046381652355,-0.018987823277712,-0.064551457762718,-0.050437878817320,-0.235651597380638,0.059902504086494,-0.103610962629318,-0.008794054389000,0.029342541471124,-0.098909482359886,-0.036176200956106,0.008694232441485,-0.049846827983856) * MODEL6_texOff(vec2(1,1));
res += FEATURE4_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.278777390718460,-0.185623049736023,0.060549959540367,-0.219712883234024) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE5
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 4_5

vec4 hook()
{
vec4 res = vec4(0.081867091357708,0.024400994181633,-0.081249587237835,0.077785275876522);
res += mat4(0.022517798468471,0.047983318567276,0.003096828935668,0.062345325946808,-0.037215847522020,0.073989741504192,-0.132034704089165,0.111971944570541,-0.026234803721309,0.019367704167962,0.082355163991451,-0.133501559495926,-0.036787949502468,-0.033259432762861,-0.106530472636223,-0.071933805942535) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.077825829386711,-0.078576363623142,0.121847897768021,0.118835762143135,-0.199671983718872,0.040654100477695,0.023765591904521,0.007478827144951,0.180035009980202,0.004942709114403,-0.003900498384610,-0.039385158568621,-0.096299022436142,-0.000481967348605,0.128038018941879,0.096904776990414) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.064387276768684,-0.025708109140396,0.065454855561256,0.084005407989025,-0.195796027779579,-0.112685754895210,-0.087825767695904,-0.027582084760070,-0.017018754035234,-0.168367698788643,-0.011251894757152,-0.120750017464161,-0.083760060369968,-0.032267775386572,-0.029143977910280,-0.060679111629725) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.007075820583850,0.154894188046455,-0.056732472032309,0.120746016502380,0.070659957826138,-0.033862594515085,-0.072056584060192,0.063218206167221,-0.058301374316216,0.106604963541031,0.001384373870678,-0.121375918388367,-0.049089476466179,-0.088386505842209,0.003854895243421,0.061734437942505) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.016790034249425,-0.153142139315605,0.032780878245831,0.072471573948860,-0.015397221781313,-0.076017066836357,-0.089992709457874,-0.094763703644276,-0.003535121213645,0.116737686097622,0.025302125141025,0.109144054353237,-0.174082875251770,0.160561576485634,-0.106807507574558,-0.059982601553202) * MODEL1_texOff(vec2(0,0));
res += mat4(0.069897584617138,-0.071534015238285,-0.021287493407726,0.177240878343582,-0.028644761070609,-0.181848451495171,-0.036637172102928,-0.081535033881664,-0.016011152416468,-0.027745394036174,-0.151312723755836,-0.108163103461266,-0.097186185419559,-0.013372801244259,-0.185143291950226,-0.073596797883511) * MODEL1_texOff(vec2(0,1));
res += mat4(0.094768211245537,0.095247216522694,-0.123363099992275,0.156596258282661,0.007129659876227,0.070646390318871,-0.175011843442917,0.119746163487434,0.093292251229286,0.077926203608513,0.195296660065651,-0.180165156722069,-0.171306520700455,-0.017520323395729,0.031189836561680,0.028784411028028) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.014829892665148,0.005689122714102,0.062836982309818,0.037772770971060,-0.005356144160032,-0.109071314334869,-0.086186036467552,0.065559215843678,0.040637098252773,0.001193539355882,0.086780741810799,-0.121239781379700,-0.114803999662399,-0.101703427731991,0.121411323547363,-0.031539067625999) * MODEL1_texOff(vec2(1,0));
res += mat4(0.089301586151123,-0.034119311720133,-0.006039184518158,0.022703768685460,0.081798881292343,0.083657547831535,-0.033794537186623,0.054800298064947,0.046717252582312,-0.133219256997108,0.054867569357157,-0.019699377939105,0.023667072877288,-0.043452423065901,0.035353183746338,0.144595265388489) * MODEL1_texOff(vec2(1,1));
res += mat4(0.187345668673515,-0.286614567041397,-0.121035650372505,0.083955660462379,-0.290869146585464,0.113025568425655,0.063697680830956,0.090977497398853,-0.111206740140915,-0.043993297964334,0.148248732089996,-0.084322139620781,-0.352130949497223,0.048332832753658,-0.061700329184532,-0.119832850992680) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.003793643321842,-0.158759042620659,-0.030286902561784,0.083769999444485,-0.381376922130585,-0.174657270312309,-0.109936431050301,0.069272361695766,-0.178791508078575,-0.009934529662132,-0.111411511898041,-0.020549761131406,-0.040448397397995,0.027693167328835,0.118757598102093,0.012800715863705) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.126987010240555,0.036890123039484,0.236698403954506,0.147307530045509,-0.158916920423508,-0.069806575775146,0.103771515190601,0.167338103055954,-0.088012225925922,0.131033122539520,-0.114509105682373,-0.130026504397392,-0.086750917136669,-0.151314064860344,0.199965208768845,0.173708319664001) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.032804954797029,-0.082326427102089,0.163149729371071,0.032101854681969,-0.112132832407951,-0.000172431478859,-0.044542260468006,0.041093185544014,-0.506675839424133,-0.111621916294098,-0.101446300745010,0.005880249198526,0.007640013005584,0.146090894937515,-0.014847801998258,0.071298763155937) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.023929523304105,-0.128446295857430,-0.125446513295174,0.029676334932446,-0.204617157578468,-0.214760363101959,0.149455875158310,0.223453283309937,-0.180726900696754,0.227606728672981,0.135765805840492,0.001902746967971,0.152942433953285,0.188781604170799,-0.067491777241230,0.075427129864693) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.037645228207111,0.136299118399620,-0.173671230673790,-0.104567840695381,-0.064547121524811,0.003672852413729,0.114134393632412,0.076724551618099,-0.112159341573715,0.033779889345169,-0.128477394580841,-0.041944820433855,-0.178092211484909,0.014058339409530,-0.080096088349819,0.024326160550117) * MODEL2_texOff(vec2(0,1));
res += mat4(0.070587851107121,-0.068578027188778,-0.125080659985542,0.030201589688659,-0.019834233447909,-0.029449351131916,-0.052763018757105,0.076324447989464,0.024130709469318,-0.269863307476044,0.024890398606658,-0.102252602577209,0.035592921078205,0.096055015921593,0.113362461328506,0.017152348533273) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.133525207638741,0.007282071281224,-0.033709853887558,-0.000065446976805,-0.074573189020157,0.094740152359009,-0.028982942923903,0.221332848072052,0.132053866982460,0.025342106819153,0.004184499848634,-0.006617279723287,-0.058915767818689,0.121954470872879,0.066745802760124,-0.047189235687256) * MODEL2_texOff(vec2(1,0));
res += mat4(0.055644501000643,-0.092556044459343,-0.029119560495019,0.044469870626926,-0.014002140611410,-0.140678629279137,0.003269325243309,0.032552856951952,0.104691773653030,0.156341120600700,-0.023171687498689,-0.011822437867522,0.022589268162847,0.237625062465668,0.022480042651296,0.013081545010209) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.036933939903975,0.026387421414256,-0.080630689859390,-0.026998791843653,0.037249274551868,0.022517614066601,0.008133322931826,0.021293127909303,0.053576484322548,-0.216305434703827,0.082378663122654,-0.049359474331141,0.197537437081337,-0.092875815927982,-0.060987591743469,0.036722443997860) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.164532691240311,0.286474168300629,0.203292369842529,0.005930116865784,0.038094118237495,0.055818386375904,0.247910946607590,-0.054503597319126,0.127485096454620,-0.351674288511276,-0.054206281900406,-0.171093031764030,0.131083488464355,0.151099562644958,-0.099425204098225,-0.014194660820067) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.127289876341820,0.321280598640442,-0.018683787435293,0.036526769399643,-0.002811147831380,0.038858223706484,-0.175442978739738,0.016936723142862,0.068737931549549,-0.378498733043671,0.059226438403130,-0.245290771126747,-0.023523814976215,0.232542395591736,-0.042925283312798,0.050815086811781) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.107621565461159,0.115535117685795,0.048194684088230,-0.037157509475946,0.177911758422852,0.104330807924271,0.085836797952652,-0.069480217993259,0.152020394802094,-0.206351175904274,0.090874783694744,-0.061392046511173,0.083592586219311,0.023089280351996,-0.013901674188673,-0.050657447427511) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.251137852668762,-0.107590489089489,0.001913198968396,0.009673138149083,0.078397370874882,-0.011624784208834,0.165907964110374,0.017988206818700,-0.047994561493397,-0.263984173536301,-0.110510021448135,0.003367795841768,0.002364597516134,-0.058434646576643,-0.053629692643881,-0.117496840655804) * MODEL3_texOff(vec2(0,0));
res += mat4(0.075332969427109,0.344417631626129,0.142890393733978,0.034871809184551,0.074334412813187,0.015811471268535,-0.008482793346047,0.114238373935223,-0.167249187827110,-0.384119123220444,-0.057779602706432,-0.123986147344112,-0.095682263374329,0.112391993403435,-0.097228795289993,-0.003405043855309) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.166920378804207,0.069072760641575,0.051455825567245,-0.010220575146377,0.023683281615376,0.064515635371208,0.129958391189575,0.040612220764160,0.074380956590176,-0.202852874994278,0.106763802468777,-0.081602588295937,-0.048983804881573,-0.101590320467949,-0.039341673254967,0.025663299486041) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.104262404143810,0.090760856866837,0.026706244796515,0.032649688422680,-0.006756588350981,-0.005949309561402,-0.059153899550438,0.066633373498917,-0.022230433300138,-0.130409851670265,0.074071824550629,-0.045073799788952,-0.033858012408018,-0.026060083881021,-0.027119915932417,0.131305098533630) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.094132415950298,-0.127638757228851,-0.004694779869169,-0.104834362864494,0.060838073492050,-0.096094466745853,-0.123599469661713,0.087818153202534,-0.075071595609188,-0.221810132265091,-0.000279829691863,-0.047452248632908,0.013617925345898,0.128981366753578,-0.023764608427882,0.026272229850292) * MODEL3_texOff(vec2(1,1));
res += mat4(0.382050156593323,0.005332488100976,0.045599617063999,-0.007344692945480,-0.143490344285965,-0.057114358991385,0.097424626350403,-0.069530986249447,-0.158522650599480,-0.001441468251869,-0.043124172836542,-0.088194973766804,0.060346804559231,0.075385570526123,-0.159749642014503,-0.018317835405469) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.177013650536537,-0.025378812104464,-0.044198721647263,0.066862389445305,-0.063635967671871,0.139326065778732,0.062241226434708,0.000143401703099,-0.010296062566340,-0.031154012307525,-0.457441210746765,-0.117900162935257,-0.087504766881466,0.089002236723900,-0.106675490736961,-0.057966146618128) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.067811273038387,-0.014458764344454,0.084388740360737,0.068925485014915,-0.085821211338043,0.154103785753250,0.050939187407494,-0.076031491160393,-0.008670107461512,-0.009575014002621,-0.045959729701281,-0.060378894209862,0.057310234755278,0.168616607785225,0.032382339239120,0.099702425301075) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.222796410322189,-0.081392586231232,0.137154787778854,-0.056450597941875,0.122559450566769,0.075785115361214,0.146249234676361,-0.101141251623631,0.196262925863266,0.008046654984355,-0.209865868091583,-0.067522466182709,0.029126534238458,0.009978392161429,-0.013155261054635,0.007371374871582) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.105889230966568,-0.001383804134093,-0.048204634338617,0.026570269837976,0.004756196402013,0.117489598691463,0.066075935959816,-0.039221137762070,-0.015762753784657,-0.000604438479058,0.007911161519587,0.073752172291279,0.146471410989761,-0.156844913959503,0.058051414787769,0.036910627037287) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.054125785827637,-0.042889092117548,-0.137072235345840,-0.159992948174477,0.039389315992594,0.042618688195944,0.115931458771229,-0.048919014632702,-0.128606960177422,0.071431152522564,-0.120541632175446,-0.054571270942688,0.162429228425026,-0.072657100856304,0.019752673804760,0.076053947210312) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.102070592343807,0.028689643368125,0.209354087710381,-0.077283382415771,0.025666439905763,0.065796829760075,0.208136901259422,-0.153098627924919,-0.094597950577736,-0.192143380641937,0.032438948750496,-0.044049233198166,-0.065341822803020,0.007421169430017,0.030608497560024,-0.004285428673029) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.039757061749697,0.020838534459472,0.109077088534832,0.112758316099644,0.032568830996752,0.114406272768974,0.181605368852615,-0.200742885470390,-0.129605710506439,-0.178360596299171,0.147714123129845,-0.245101526379585,0.069256111979485,0.063870429992676,-0.000351810886059,0.002822430571541) * MODEL4_texOff(vec2(1,0));
res += mat4(0.032461684197187,0.011293104849756,-0.018495524302125,0.008209679275751,-0.099712736904621,0.099215112626553,0.159772828221321,-0.107664257287979,-0.015787655487657,-0.104905210435390,0.197382107377052,-0.072212606668472,-0.053096301853657,-0.068087846040726,0.157864153385162,-0.087662793695927) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.019906494766474,0.139234557747841,0.067792609333992,-0.048309829086065,0.275826543569565,-0.145546033978462,0.192410424351692,0.086138002574444,0.110670872032642,0.147432193160057,0.071657024323940,-0.064387820661068,0.160332724452019,-0.029464479535818,0.081456743180752,0.159500017762184) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.340831696987152,-0.025644611567259,-0.040036398917437,-0.022996518760920,-0.055411826819181,-0.283876329660416,0.091801196336746,0.046620070934296,-0.147426187992096,0.021710833534598,0.081118606030941,0.057212129235268,0.010173905640841,0.182421267032623,0.314357161521912,-0.042327683418989) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.107836700975895,-0.080256566405296,0.085233420133591,0.143541634082794,-0.146686166524887,0.037064388394356,-0.283241778612137,-0.188924118876457,-0.007854240015149,-0.008506015874445,-0.089869059622288,0.109235495328903,-0.100856855511665,0.002452321816236,-0.051150020211935,-0.090664349496365) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.357272952795029,-0.018280444666743,-0.045885201543570,0.000785340263974,0.194039002060890,0.109270669519901,-0.134658902883530,-0.095784358680248,0.096218675374985,0.075577341020107,0.015797233209014,-0.112735904753208,0.102618083357811,-0.060177415609360,-0.085958331823349,0.085107348859310) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.160158485174179,-0.063527271151543,0.070821434259415,0.095299452543259,0.224097907543182,-0.035507690161467,-0.304071068763733,-0.111712887883186,0.020939629524946,-0.107444569468498,0.029069079086185,-0.046298854053020,0.057644799351692,0.201170623302460,-0.203313782811165,-0.129718422889709) * MODEL5_texOff(vec2(0,0));
res += mat4(0.046815518289804,-0.156636372208595,0.051504109054804,0.059279628098011,0.067165389657021,-0.182302176952362,-0.071090020239353,0.045570705085993,0.072932414710522,-0.053242385387421,0.220560461282730,0.115757092833519,0.167687878012657,0.189432159066200,0.208602070808411,0.138889312744141) * MODEL5_texOff(vec2(0,1));
res += mat4(0.065864764153957,0.070215232670307,-0.014478918164968,-0.028901999816298,-0.067930258810520,0.036375973373652,-0.154303625226021,-0.051306676119566,-0.005342300981283,0.176477387547493,-0.045642748475075,-0.062426988035440,0.274696588516235,-0.004125288687646,0.059158347547054,-0.033292211592197) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.017547275871038,-0.044258769601583,0.106906414031982,-0.084124907851219,0.083730541169643,-0.006821266841143,0.036840155720711,-0.190678492188454,0.041129630059004,0.066184766590595,-0.040139749646187,0.057814076542854,0.061596628278494,0.141708463430405,-0.098126783967018,-0.097454503178596) * MODEL5_texOff(vec2(1,0));
res += mat4(0.004982335027307,0.063373319804668,0.032859526574612,-0.068161077797413,0.029261652380228,-0.345253288745880,0.043682735413313,-0.078966856002808,0.040936265140772,-0.017066525295377,-0.072566539049149,-0.025160087272525,0.027588125318289,0.245179906487465,0.080942414700985,-0.018940662965178) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.066706016659737,-0.010743833146989,0.134258165955544,0.007847094908357,0.030090913176537,0.121555596590042,0.081719309091568,-0.025975933298469,-0.073825031518936,0.081860914826393,-0.002503047464415,-0.066560454666615,0.013349696993828,-0.061105392873287,0.017710350453854,-0.052111390978098) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.007164085749537,-0.202126353979111,-0.074577979743481,-0.186145246028900,0.111242868006229,-0.124108880758286,-0.232959643006325,-0.165831670165062,-0.086325064301491,-0.136156901717186,-0.161881595849991,0.027261074632406,0.067640155553818,-0.035715527832508,-0.095947921276093,-0.051075514405966) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.090453483164310,-0.262601882219315,0.015958162024617,-0.184034571051598,-0.131285384297371,0.042674995958805,-0.030132200568914,0.010155572555959,0.025363534688950,-0.074847169220448,0.204761713743210,0.219113484025002,-0.005585062783211,-0.020498184487224,-0.015226798132062,0.046870402991772) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.141549557447433,-0.071842581033707,0.112682752311230,-0.134146481752396,0.094949387013912,0.252357482910156,-0.020827386528254,0.097399063408375,-0.170437172055244,0.108224868774414,-0.067141063511372,-0.092265635728836,0.050405099987984,-0.073621362447739,-0.033800549805164,0.014107455499470) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.099846161901951,-0.042607080191374,-0.140396073460579,-0.124581143260002,0.068191751837730,0.036435127258301,0.351181209087372,0.115716718137264,-0.159925282001495,-0.022129088640213,0.132834315299988,-0.057960584759712,-0.066049560904503,0.062566444277763,0.008805783465505,-0.095485605299473) * MODEL6_texOff(vec2(0,0));
res += mat4(0.152793496847153,-0.341120004653931,0.082698076963425,-0.008975933305919,-0.054270263761282,-0.098082505166531,0.116730481386185,0.263362109661102,-0.139742240309715,0.035753700882196,-0.040057647973299,-0.071062453091145,0.008630899712443,-0.069820992648602,-0.014436486177146,-0.034687787294388) * MODEL6_texOff(vec2(0,1));
res += mat4(0.092495456337929,0.080792784690857,-0.174562513828278,-0.083948455750942,-0.151900947093964,0.371394574642181,0.002754714339972,0.092285163700581,-0.095069184899330,0.001920343725942,0.087759234011173,-0.093327365815639,-0.029423028230667,-0.097161054611206,-0.026364129036665,-0.036436270922422) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.004266698379070,-0.321772158145905,-0.177872091531754,-0.068729571998119,-0.063264481723309,0.501006662845612,-0.233433380723000,0.277649939060211,-0.102825157344341,0.013007324188948,0.057232502847910,-0.182765066623688,-0.005763574503362,-0.031186580657959,-0.001284028054215,0.033219784498215) * MODEL6_texOff(vec2(1,0));
res += mat4(0.223723694682121,-0.129674598574638,-0.167513847351074,0.014597434550524,0.003067813813686,0.398945540189743,0.071013979613781,0.043369915336370,-0.106817759573460,-0.209818691015244,0.022135859355330,-0.048876043409109,-0.017953019589186,-0.000652825518046,0.041803237050772,-0.013779777102172) * MODEL6_texOff(vec2(1,1));
res += FEATURE5_texOff(0);
res = max(res, vec4(0.0)) + vec4(0.197434112429619,0.096250265836716,0.762578666210175,0.880035877227783) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!BIND FEATURE6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 4_6

vec4 hook()
{
vec4 res = vec4(-0.142981037497520,-0.219563961029053,0.058984663337469,-0.160448879003525);
res += mat4(-0.197903811931610,-0.069991573691368,0.120205081999302,-0.055578071624041,-0.214136973023415,-0.077718384563923,0.121019862592220,0.019487673416734,0.081516698002815,-0.061508566141129,-0.055454935878515,-0.103839568793774,-0.065364353358746,-0.109702505171299,0.096035368740559,-0.078603267669678) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.124213352799416,0.020767007023096,-0.037671651691198,-0.062505945563316,-0.276853889226913,0.066091567277908,-0.047697391360998,0.035357970744371,0.069254390895367,-0.013314086943865,-0.075100563466549,0.089081995189190,0.058274716138840,-0.037579689174891,0.174358889460564,0.266233175992966) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.024485329166055,-0.137839913368225,-0.074800401926041,-0.088514700531960,0.021696217358112,-0.123403720557690,0.014718435704708,0.029591793194413,0.061420436948538,-0.192454546689987,-0.002726288046688,0.094898469746113,-0.028950208798051,-0.051318813115358,0.047972526401281,0.130396261811256) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.195025160908699,-0.030007360503078,0.049689739942551,0.044453430920839,-0.183883115649223,0.036026082932949,0.014662875793874,0.051552243530750,0.020380930975080,0.063614979386330,0.006759439595044,-0.136967346072197,0.065113954246044,-0.050079930573702,-0.071169048547745,0.075104035437107) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.269851893186569,0.185587346553802,-0.051593482494354,-0.078583396971226,-0.263326764106750,-0.081838473677635,-0.198341235518456,-0.024244293570518,0.055125623941422,-0.000463513948489,-0.223232358694077,-0.011159135960042,0.157656416296959,0.078988991677761,0.094676725566387,0.066643133759499) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.103676833212376,0.057705231010914,0.107341721653938,-0.126182839274406,0.057061232626438,0.179543599486351,-0.131809011101723,-0.102337256073952,0.055047277361155,0.157803505659103,-0.186238333582878,-0.211540535092354,0.036787766963243,0.015880972146988,-0.109926916658878,0.108118116855621) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.277352333068848,0.010877425782382,0.081487677991390,-0.096137449145317,-0.191328912973404,-0.081145063042641,0.001855932874605,0.096557550132275,0.062695212662220,-0.066076651215553,-0.080508418381214,-0.096951976418495,-0.090884722769260,-0.006731377914548,0.044365685433149,0.214201256632805) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.195959448814392,-0.044380843639374,-0.028135331347585,-0.097381614148617,-0.255462944507599,-0.046649340540171,-0.003054495668039,-0.066202856600285,0.076878771185875,-0.000651184644084,-0.030566185712814,0.010683745145798,-0.018100202083588,0.004563674796373,0.143212735652924,0.081824377179146) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.227133944630623,-0.015367021784186,0.005367947276682,0.016687842085958,0.033298309892416,0.010856873355806,-0.021711222827435,-0.045466940850019,0.072399750351906,0.019231043756008,-0.048744436353445,-0.073174431920052,0.045062590390444,-0.060183729976416,0.089515775442123,-0.111587174236774) * MODEL1_texOff(vec2(1,1));
res += mat4(0.062002956867218,0.124923393130302,0.028751835227013,-0.016117908060551,0.044659025967121,0.056449472904205,-0.048155684024096,0.154184758663177,-0.062260322272778,0.014464552514255,-0.105879776179790,0.117971569299698,0.097694925963879,0.076694093644619,-0.026691511273384,0.184199839830399) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.042902525514364,0.063241519033909,0.094543926417828,-0.173187121748924,0.044817276299000,0.024857953190804,-0.053796790540218,0.103326179087162,0.054202921688557,-0.175420418381691,-0.056598376482725,-0.073639824986458,0.209429711103439,-0.000627008848824,0.095305345952511,0.183451369404793) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.178816914558411,0.019687077030540,0.093371331691742,-0.050179183483124,-0.093851312994957,-0.024637080729008,0.042455695569515,0.113473176956177,0.104719616472721,-0.154229268431664,-0.068689644336700,0.116445355117321,0.089069209992886,-0.048085305839777,-0.043823972344398,0.006449998822063) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.016073340550065,-0.021838739514351,-0.252157151699066,0.193951472640038,0.059680823236704,-0.032576505094767,0.166533678770065,0.132253199815750,-0.235456943511963,-0.096959665417671,0.086227513849735,-0.143121615052223,-0.050919536501169,0.047103367745876,-0.096300967037678,-0.113982319831848) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.175690099596977,0.099691815674305,-0.127209708094597,0.007183694746345,0.031046735122800,0.083049826323986,-0.090014465153217,0.319767266511917,0.134066089987755,0.082429900765419,-0.016819940879941,-0.023210186511278,0.085588075220585,0.057025946676731,0.106119245290756,-0.001999589614570) * MODEL2_texOff(vec2(0,0));
res += mat4(0.063370294868946,-0.030118213966489,-0.105082884430885,0.011696892790496,-0.148809283971786,0.048209723085165,-0.070528820157051,0.206135064363480,0.019458677619696,0.017720535397530,-0.113134555518627,0.122814938426018,0.028600130230188,0.022727789357305,0.003610161831602,0.082488253712654) * MODEL2_texOff(vec2(0,1));
res += mat4(0.059613779187202,0.011033765971661,-0.096192091703415,0.130446165800095,-0.027261154726148,0.012863381765783,0.050424773246050,0.031111670657992,-0.046650100499392,0.140873119235039,0.127009421586990,-0.024586979299784,0.085024379193783,0.045129738748074,-0.054205089807510,0.110723473131657) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.068009100854397,0.017453769221902,0.044238142669201,0.017971118912101,-0.023173572495580,0.099919430911541,-0.000803975504823,0.140399664640427,0.085414253175259,-0.027734603732824,-0.110056862235069,0.138908624649048,0.076675072312355,0.022769045084715,-0.160699740052223,0.101726949214935) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.057024206966162,-0.067498303949833,-0.027912985533476,0.018308650702238,-0.134504452347755,0.060156710445881,-0.001070566126145,0.132186532020569,-0.072319142520428,-0.142029523849487,-0.008857171051204,0.070658400654793,-0.007749818731099,0.020082056522369,-0.006185868754983,0.069912284612656) * MODEL2_texOff(vec2(1,1));
res += mat4(0.104512698948383,-0.149386197328568,-0.112738966941833,-0.072178751230240,-0.054413534700871,-0.041229803115129,0.041129987686872,-0.226550519466400,0.116587840020657,-0.084112003445625,-0.131716892123222,0.175274237990379,0.154619857668877,0.039858274161816,-0.066653937101364,0.140943497419357) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.057056687772274,-0.090281851589680,-0.042131651192904,0.182253077626228,0.046349223703146,0.014197476208210,-0.052572354674339,0.236242145299911,0.032691374421120,-0.128731966018677,-0.030487615615129,-0.189500465989113,-0.033679287880659,0.332763612270355,0.230289772152901,0.085990801453590) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.114708326756954,-0.079900853335857,-0.018667252734303,0.060984462499619,-0.034269701689482,-0.104709647595882,-0.012894035317004,-0.056708052754402,0.038898326456547,-0.281797111034393,-0.020639041438699,-0.087883219122887,0.116891480982304,0.156704127788544,0.056459937244654,0.080690637230873) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.142142131924629,0.207954064011574,-0.198165595531464,0.265678644180298,-0.038495913147926,-0.010119379498065,0.234305217862129,-0.097095094621181,0.016208408400416,-0.007583056110889,0.075911030173302,-0.168395668268204,0.109785728156567,0.116665869951248,-0.068872399628162,0.170962035655975) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.000349317910150,-0.203721672296524,0.068709596991539,-0.116181805729866,-0.031346235424280,-0.201057255268097,0.028524048626423,0.274952322244644,0.068303413689137,-0.063163623213768,0.035013888031244,-0.043266195803881,-0.143310695886612,-0.182480439543724,0.240212738513947,0.040688391774893) * MODEL3_texOff(vec2(0,0));
res += mat4(0.113706372678280,0.085172973573208,0.044048812240362,0.072302587330341,-0.065737657248974,-0.120715446770191,0.001200295402668,-0.142312958836555,0.081174023449421,-0.014291041530669,-0.005603186786175,0.062773577868938,-0.042679786682129,0.047774314880371,0.130100190639496,-0.105296574532986) * MODEL3_texOff(vec2(0,1));
res += mat4(0.115549027919769,-0.060114484280348,0.069616578519344,0.036532692611217,0.047272905707359,-0.041039600968361,0.082909449934959,-0.008744615130126,-0.053532235324383,-0.037994600832462,0.011044259183109,-0.109804511070251,0.067506656050682,0.082153595983982,0.034874096512794,-0.032431159168482) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.076380610466003,-0.137268692255020,0.066842466592789,0.055786922574043,-0.088486261665821,0.037552233785391,0.015002494677901,-0.100105762481689,0.075788438320160,0.026065280660987,-0.022921308875084,-0.128736749291420,-0.108375735580921,-0.221344947814941,-0.002538393484429,-0.036127667874098) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.095545448362827,-0.035420171916485,0.077095344662666,0.066105887293816,-0.001751150353812,-0.107826747000217,-0.012722183950245,-0.002921228762716,0.006274928338826,-0.077080905437469,-0.060253418982029,-0.088160827755928,-0.097640350461006,-0.007769397459924,-0.079112619161606,0.090149417519569) * MODEL3_texOff(vec2(1,1));
res += mat4(0.110975764691830,0.061464153230190,0.009196897037327,-0.028725065290928,0.048251185566187,-0.002164395526052,0.021607760339975,-0.032674614340067,0.022052545100451,-0.018280029296875,0.009706810116768,-0.050274889916182,0.054506432265043,0.076804131269455,0.019923403859138,-0.021054873242974) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.000528405827936,-0.117945648729801,0.077321060001850,-0.132496312260628,0.042464192956686,-0.094288967549801,-0.079396061599255,0.073157049715519,0.238964706659317,-0.303628951311111,-0.174442887306213,-0.015340714715421,-0.096167288720608,-0.058247942477465,0.129999041557312,-0.018482265993953) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.075686916708946,-0.025101479142904,-0.016035554930568,0.102383084595203,0.012525531463325,-0.076368458569050,-0.117472864687443,-0.148174792528152,0.039279334247112,-0.094616010785103,0.062450032681227,0.107792131602764,0.087891623377800,-0.082796305418015,-0.052341971546412,-0.126052156090736) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.053415946662426,0.098420783877373,0.000877967569977,-0.195575281977654,0.150135040283203,0.063161477446556,-0.142041936516762,0.071589052677155,0.058205649256706,0.233717679977417,0.122521109879017,-0.159595429897308,-0.080691002309322,0.103179395198822,0.090719334781170,-0.022913424298167) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.048748847097158,-0.150842472910881,0.112406156957150,-0.168386548757553,0.062477968633175,0.087976701557636,0.012471094727516,-0.013009816408157,0.159076154232025,0.207525700330734,-0.079382903873920,0.249691426753998,-0.162969499826431,-0.231314584612846,0.179059535264969,-0.088060937821865) * MODEL4_texOff(vec2(0,0));
res += mat4(0.042578574270010,-0.112067587673664,0.186612799763680,-0.100404337048531,0.126994952559471,0.020484670996666,0.018685692921281,-0.127409979701042,0.093238539993763,0.186727806925774,-0.048236742615700,0.042776469141245,0.054928325116634,0.259803831577301,-0.013158811256289,-0.324557244777679) * MODEL4_texOff(vec2(0,1));
res += mat4(0.122456707060337,0.116167381405830,0.026186255738139,-0.059188235551119,0.102139770984650,0.024063073098660,-0.020860880613327,-0.098689489066601,-0.114441096782684,0.009928192012012,-0.006613037083298,0.096304237842560,0.041421230882406,0.123430371284485,-0.108897328376770,-0.121767647564411) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.038563735783100,-0.113361664116383,0.065597727894783,0.112751580774784,0.065067559480667,0.109591215848923,-0.078245744109154,-0.054462980479002,-0.423899859189987,0.012275064364076,0.042795952409506,0.257962644100189,0.036598965525627,0.063180752098560,-0.126162186264992,0.080092832446098) * MODEL4_texOff(vec2(1,0));
res += mat4(0.047768834978342,0.025487219914794,0.005675814580172,0.034938428550959,0.037850633263588,0.047682508826256,-0.078915581107140,-0.046122148633003,-0.077038235962391,0.017977433279157,0.130547255277634,-0.080186776816845,-0.093709781765938,0.026561725884676,-0.073800668120384,0.222156539559364) * MODEL4_texOff(vec2(1,1));
res += mat4(0.027814235538244,0.166931435465813,0.019027790054679,0.063426263630390,-0.028695086017251,-0.044798340648413,-0.151928499341011,0.025058351457119,0.143622979521751,0.091012030839920,0.021809916943312,-0.056823711842299,-0.119349345564842,-0.027731817215681,0.048002351075411,0.001789465430193) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.191927552223206,-0.181475847959518,-0.005203410051763,-0.127879932522774,-0.063046567142010,0.057336553931236,-0.014239259995520,-0.025896433740854,0.061685629189014,0.067117616534233,-0.098711945116520,0.034876715391874,0.106669247150421,0.029073253273964,-0.053769204765558,0.145806729793549) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.019312553107738,0.088672943413258,-0.073466725647449,-0.235785990953445,0.042224548757076,-0.172901943325996,-0.159914806485176,0.023633051663637,0.155487433075905,0.038693044334650,-0.039666604250669,-0.018702039495111,-0.089970991015434,0.144757300615311,0.009056103415787,-0.045286182314157) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.066072836518288,-0.033357333391905,0.206290945410728,-0.114760860800743,0.129840984940529,-0.031712405383587,0.133259579539299,0.028049143031240,0.160797148942947,0.106730103492737,-0.087668016552925,-0.245759502053261,-0.200108274817467,0.164056256413460,-0.028512682765722,-0.080326534807682) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.072964452207088,-0.030543649569154,0.284164786338806,-0.228061065077782,0.252891659736633,0.189901947975159,0.071038357913494,-0.022671682760119,0.251453697681427,0.245237261056900,0.039245452731848,-0.078917630016804,0.015890119597316,0.125825345516205,0.096079669892788,-0.140631005167961) * MODEL5_texOff(vec2(0,0));
res += mat4(0.133082240819931,-0.104934565722942,-0.053455438464880,0.115371406078339,0.041472602635622,0.219849392771721,0.206772729754448,-0.069830894470215,-0.117918759584427,0.001803293009289,-0.005552807357162,-0.050506047904491,-0.029917711392045,0.098606362938881,0.079762145876884,-0.190349996089935) * MODEL5_texOff(vec2(0,1));
res += mat4(0.090886220335960,-0.038551565259695,-0.070764966309071,-0.177375078201294,0.070534780621529,-0.019047418609262,-0.302404642105103,0.047771487385035,-0.024207996204495,-0.022374199703336,0.069104857742786,0.015433417633176,-0.094809494912624,-0.046597048640251,-0.034659575670958,0.066834293305874) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.125564977526665,0.057642649859190,-0.086211904883385,-0.029238032177091,-0.157775208353996,0.056162785738707,-0.021179692819715,0.100866310298443,-0.031258661299944,0.131990030407906,0.067457839846611,0.119045682251453,-0.221128493547440,-0.180549442768097,0.012259457260370,-0.111160635948181) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.012876163236797,0.007372359279543,0.006450044456869,0.100862950086594,-0.072500199079514,0.153539299964905,0.004390963353217,-0.036768179386854,-0.047807767987251,0.108341313898563,0.037995081394911,0.179565325379372,-0.047611795365810,-0.127725005149841,0.039920210838318,-0.065042413771152) * MODEL5_texOff(vec2(1,1));
res += mat4(0.031045963987708,-0.039883997291327,-0.122960135340691,0.126635625958443,0.011519635096192,-0.111401781439781,-0.095897592604160,0.030824985355139,-0.026448326185346,-0.063458196818829,0.049909304827452,-0.052009455859661,-0.041850678622723,-0.058723274618387,-0.041200626641512,0.057842567563057) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.017621111124754,0.001701118424535,0.115286216139793,-0.121841810643673,0.054494731128216,-0.104370869696140,0.001701350207441,-0.215253099799156,-0.201692163944244,-0.074806995689869,0.049017611891031,-0.009663763456047,0.100825943052769,0.006620431784540,0.029776157811284,0.119644820690155) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.014216179028153,-0.039255268871784,-0.019875701516867,-0.019117956981063,-0.047448478639126,-0.069819785654545,0.047154534608126,0.018452882766724,0.041645321995020,0.031076753512025,0.142411902546883,-0.048059288412333,0.022996813058853,-0.115863710641861,0.002369299996644,0.069116376340389) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.135037273168564,0.095046654343605,0.166408717632294,-0.000193648578716,-0.094543904066086,0.015976004302502,-0.034012857824564,0.208794221282005,0.111015848815441,0.076621100306511,0.016493406146765,0.024161830544472,-0.072098724544048,-0.000334764190484,-0.053216967731714,-0.081198990345001) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.085879445075989,0.059281006455421,0.159043967723846,0.067067563533783,-0.214000776410103,0.183531925082207,-0.232326939702034,0.293246686458588,0.100469060242176,0.183484435081482,0.038780827075243,0.123971588909626,-0.081465691328049,-0.043883569538593,-0.014061875641346,0.129913285374641) * MODEL6_texOff(vec2(0,0));
res += mat4(0.004502706695348,0.208737969398499,0.016531024128199,-0.119949199259281,-0.085462570190430,0.093330979347229,-0.170601978898048,0.028981231153011,0.205171138048172,-0.057188875973225,-0.165843307971954,0.137950852513313,0.039715081453323,0.031228102743626,0.066616423428059,-0.069988109171391) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.056235034018755,-0.027555836364627,0.044123541563749,-0.104027263820171,0.052793327718973,0.092133410274982,0.065839558839798,-0.060735367238522,0.053165398538113,0.084749899804592,0.027559062466025,0.034485701471567,0.058962874114513,0.007935203611851,-0.024681573733687,-0.112162902951241) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.021008022129536,-0.064438365399837,0.093158610165119,0.083551876246929,0.146039545536041,0.171539008617401,-0.049204491078854,0.053320992738008,-0.021177142858505,0.061721608042717,0.025916766375303,0.014983192086220,0.053262799978256,-0.010881365276873,-0.022939596325159,-0.035468947142363) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.097198054194450,-0.014995266683400,0.096644289791584,-0.115274943411350,-0.064598076045513,0.083761490881443,-0.063052706420422,0.235401868820190,-0.142704531550407,0.128085955977440,0.005295119713992,0.003898240858689,0.174526691436768,0.117843456566334,-0.028965502977371,-0.080046154558659) * MODEL6_texOff(vec2(1,1));
res += FEATURE6_texOff(0);
res = max(res, vec4(0.0)) + vec4(-0.106520861387253,-0.002235153922811,0.958679318428040,-0.153935238718987) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 5_1

vec4 hook()
{
vec4 res = vec4(-0.159665003418922,-0.036790292710066,-0.071322508156300,-0.187563762068748);
res += mat4(-0.104671381413937,-0.120056532323360,-0.057534568011761,0.205918893218040,-0.129047676920891,0.062572188675404,-0.194933742284775,-0.075497701764107,-0.008881671354175,-0.106451667845249,0.015216832049191,0.092340230941772,0.059647578746080,-0.235653683543205,-0.087319046258926,-0.114645384252071) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.169030994176865,0.005034686066210,-0.019391812384129,0.162038460373878,0.219153434038162,0.121567502617836,0.225146666169167,0.151252880692482,0.111187919974327,-0.206215411424637,0.004549494013190,-0.122643366456032,-0.068805046379566,0.100998185575008,0.032138533890247,-0.087096065282822) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.137393906712532,0.058926057070494,0.013746736571193,0.065069228410721,-0.034780096262693,0.179483279585838,0.127067878842354,-0.048204191029072,0.005284969229251,-0.099142886698246,0.074450403451920,-0.011727911420166,0.148383483290672,0.043890200555325,-0.027103971689939,0.024955514818430) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.069541580975056,0.249177291989326,0.012216052040458,-0.040301475673914,0.085491977632046,0.032910853624344,-0.047036744654179,-0.049080025404692,-0.044075164943933,-0.096734628081322,0.015407286584377,-0.074468836188316,0.020317258313298,0.267246246337891,0.037541195750237,-0.011293481104076) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.098269149661064,0.108684472739697,0.012167985551059,-0.243074253201485,0.144322961568832,0.091432593762875,0.008901465684175,0.128726154565811,-0.185517027974129,0.044232431799173,-0.103660866618156,-0.120083324611187,-0.093907386064529,0.053019098937511,-0.070633515715599,-0.255611568689346) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.108947843313217,0.001410742639564,-0.133864969015121,0.052479736506939,-0.196471974253654,-0.024598617106676,-0.028597824275494,-0.095665000379086,0.012866938486695,0.320874452590942,-0.182898655533791,0.077170632779598,0.071774713695049,0.070428118109703,-0.244271889328957,0.285099148750305) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.141435921192169,0.121496826410294,0.030471842736006,-0.026338756084442,-0.021936239674687,0.033218018710613,0.008925459347665,0.134346693754196,0.100248873233795,-0.024267083033919,0.075941815972328,-0.050188399851322,-0.286690294742584,0.083178214728832,-0.114590525627136,-0.004067698027939) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.023934219032526,-0.156223922967911,0.174104809761047,-0.086101688444614,0.248651579022408,0.027719710022211,-0.073340795934200,0.150627657771111,0.064868390560150,0.000464880286017,0.029017224907875,-0.056483086198568,0.076952748000622,-0.121052399277687,-0.055356770753860,-0.084872402250767) * MODEL7_texOff(vec2(1,0));
res += mat4(0.020834831520915,0.053426954895258,-0.033309075981379,0.139710113406181,0.321100324392319,-0.008706116117537,-0.151079252362251,-0.015293266624212,-0.030881719663739,-0.124102011322975,0.074481107294559,0.033060461282730,-0.141269683837891,-0.094679549336433,0.011155293323100,0.103812567889690) * MODEL7_texOff(vec2(1,1));
res += mat4(0.024527838453650,-0.089624628424644,-0.032749298959970,0.035431738942862,-0.136412337422371,-0.109793774783611,0.066001325845718,-0.011183197610080,0.134853065013885,-0.074219681322575,0.008512203581631,0.018152419477701,-0.105744592845440,-0.012441017664969,0.038192562758923,0.253371357917786) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.037152413278818,0.030215861275792,-0.027788473293185,0.245150104165077,0.057404976338148,0.018456077203155,0.138873979449272,0.154741391539574,-0.015313100069761,-0.118762299418449,-0.000021514761102,-0.012340620160103,-0.132589757442474,-0.169601812958717,0.060223057866096,0.057701114565134) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.104576133191586,0.019142890349030,-0.058704536408186,0.074891932308674,0.239727303385735,-0.118520088493824,0.060587391257286,-0.036174755543470,0.021897876635194,-0.141185611486435,-0.002328394446522,0.012779381126165,-0.072175696492195,0.072464346885681,-0.043177228420973,0.188268184661865) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.035147763788700,0.002827377757058,0.003871077438816,0.049660369753838,0.039358992129564,-0.112606309354305,0.001343569369055,0.011197036132216,0.135971054434776,-0.419262051582336,-0.047697048634291,-0.050842769443989,0.088739044964314,0.037366844713688,0.204818621277809,-0.211211189627647) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.049955595284700,0.003748768940568,-0.031472377479076,0.463553577661514,-0.078470274806023,-0.027392661198974,0.099345102906227,0.224715605378151,0.029753120616078,-0.027985431253910,0.089031934738159,0.296988010406494,0.089386321604252,0.172690361738205,-0.105067111551762,-0.496519356966019) * MODEL8_texOff(vec2(0,0));
res += mat4(0.206992417573929,0.031949765980244,-0.065216958522797,0.307304829359055,0.086208857595921,0.109163783490658,0.020803645253181,0.092112995684147,-0.027046635746956,-0.292008846998215,-0.013293254189193,-0.083260811865330,-0.008162274956703,0.167678222060204,-0.141474038362503,0.066571116447449) * MODEL8_texOff(vec2(0,1));
res += mat4(0.118926264345646,0.079859711229801,-0.044386480003595,-0.026760635897517,0.141628742218018,0.008376979269087,0.077174581587315,-0.000444978853920,0.100484073162079,0.215218707919121,-0.010189392603934,0.092454448342323,0.047175224870443,-0.239840701222420,-0.004014343023300,0.095286034047604) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.114064693450928,0.140855729579926,-0.050071466714144,0.244882747530937,0.238453567028046,-0.022784544155002,-0.025622434914112,0.002866521943361,0.021025218069553,0.204948961734772,0.002526494441554,0.162623882293701,0.056992109864950,-0.198034510016441,0.041470244526863,-0.131726756691933) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.095257855951786,-0.113301180303097,0.025794582441449,0.019110864028335,0.216036826372147,-0.017724256962538,0.119681462645531,0.136699318885803,0.279276430606842,0.036228839308023,-0.141152456402779,-0.049779061228037,-0.004517883528024,0.087240755558014,-0.159066841006279,0.056517902761698) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.134546056389809,0.019561814144254,-0.015372342430055,0.045457355678082,-0.065119542181492,0.039614245295525,-0.066027261316776,-0.069463782012463,0.136142700910568,0.093076601624489,-0.021259408444166,-0.011624244041741,0.001570978900418,0.120222873985767,0.017373485490680,0.150154158473015) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.009597940370440,-0.322306334972382,-0.019298600032926,-0.044253032654524,0.106719374656677,-0.147896677255630,0.101860702037811,-0.232422634959221,0.031974222511053,-0.086359366774559,0.049096744507551,-0.070329703390598,-0.076922915875912,-0.010176907293499,0.138986557722092,0.131255254149437) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.121839724481106,-0.029431253671646,0.031415782868862,0.052310720086098,0.038487154990435,-0.023167232051492,0.014288233593106,-0.174385413527489,-0.041046719998121,-0.159112378954887,-0.025334514677525,0.069224298000336,-0.110981971025467,-0.138066381216049,-0.131051689386368,0.092797294259071) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.026887290179729,-0.187823951244354,-0.068880312144756,-0.178166046738625,0.105582371354103,-0.106000840663910,0.014164753258228,-0.143557697534561,0.084949284791946,0.033041268587112,0.101676091551781,-0.249327808618546,0.055700428783894,-0.308463573455811,0.072247155010700,-0.361085027456284) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.196408003568649,-0.312755316495895,0.236259162425995,0.208596497774124,-0.289982885122299,-0.026268582791090,0.044004388153553,-0.199769809842110,0.205906331539154,0.029365688562393,-0.180720090866089,-0.035910584032536,0.120578676462173,-0.134001329541206,0.406789511442184,-0.758818984031677) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.008505685254931,-0.005720254499465,-0.046774514019489,-0.083942689001560,0.252396523952484,0.162446513772011,-0.115723796188831,0.043824367225170,-0.185640752315521,0.081048734486103,-0.016195129603148,0.032345909625292,-0.347704797983170,0.185628503561020,-0.409128278493881,0.084727972745895) * MODEL9_texOff(vec2(0,1));
res += mat4(0.029944309964776,0.239041030406952,-0.017294798046350,-0.075424790382385,0.071791522204876,-0.137360438704491,0.020865544676781,0.193701863288879,-0.047599405050278,0.022260015830398,0.017151134088635,0.032756704837084,0.116215549409389,-0.044274747371674,0.098124839365482,-0.009999013505876) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.081697903573513,0.250672668218613,0.008109829388559,-0.028603259474039,0.026418976485729,0.066069386899471,0.117968551814556,0.243564769625664,0.324606060981750,-0.078610934317112,-0.098887622356415,0.048012051731348,0.109262041747570,0.197307646274567,0.026073627173901,-0.097959361970425) * MODEL9_texOff(vec2(1,0));
res += mat4(0.063180685043335,-0.148389533162117,0.014145757071674,0.067539602518082,-0.090345762670040,-0.076765336096287,0.202082276344299,0.232102349400520,0.071272253990173,0.021587688475847,-0.056358925998211,0.089825697243214,-0.008946013636887,0.049618426710367,-0.080814070999622,0.096216909587383) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.076382502913475,-0.134173423051834,-0.058087803423405,-0.139433786273003,0.055160928517580,-0.097239799797535,0.066672876477242,0.090749286115170,0.039309911429882,-0.042657572776079,-0.111516669392586,0.138969227671623,-0.118723042309284,-0.040208648890257,-0.006949359551072,0.039776161313057) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.014226452447474,-0.255903631448746,0.100040122866631,-0.072643093764782,-0.031446818262339,-0.059679210186005,0.038091585040092,-0.038724653422832,-0.001527473097667,-0.030253520235419,-0.017610643059015,0.051388282328844,-0.187402412295341,-0.075684115290642,0.024964598938823,0.056055665016174) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.034733153879642,-0.136697649955750,-0.012191713787615,0.074222110211849,0.172637745738029,-0.009740574285388,0.013022023253143,-0.070184208452702,0.070910274982452,0.132486969232559,-0.000080270976468,0.199808448553085,-0.069370426237583,0.040262714028358,-0.082376874983311,0.118427991867065) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.163401722908020,0.114999890327454,0.106687322258949,-0.150436177849770,-0.029507547616959,0.168309479951859,-0.104981407523155,0.060173105448484,0.208912625908852,0.172010302543640,0.022175220772624,0.156644493341446,0.073829062283039,-0.037257876247168,0.004801638890058,0.029626797884703) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.035010252147913,0.036244805902243,0.023827698081732,-0.064355537295341,0.040567763149738,-0.037493392825127,0.165993347764015,0.108953878283501,-0.014617923647165,0.069601416587830,0.015624523162842,0.202524125576019,-0.024300293996930,0.066320605576038,0.075045272707939,0.064449511468410) * MODEL10_texOff(vec2(0,0));
res += mat4(0.032684084028006,0.062664143741131,0.018588257953525,-0.048928093165159,-0.240554302930832,-0.120571494102478,0.007407236844301,-0.064979717135429,-0.280567526817322,-0.395074903964996,0.166665524244308,-0.003191139316186,-0.034094601869583,0.068797066807747,-0.058089144527912,0.054783612489700) * MODEL10_texOff(vec2(0,1));
res += mat4(0.100027054548264,0.086108535528183,-0.082817621529102,-0.058652173727751,0.107666812837124,0.063669584691525,-0.018887916579843,0.071984730660915,-0.016136081889272,0.023295646533370,0.087760746479034,0.021003173664212,0.080363862216473,-0.041106559336185,0.051046043634415,0.028709009289742) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.067739523947239,0.079133562743664,-0.140175864100456,-0.084832586348057,-0.145584195852280,0.093021042644978,-0.185429304838181,-0.002798070199788,0.032093919813633,-0.157140821218491,0.064999207854271,0.090834945440292,0.133074387907982,-0.066711246967316,0.060875505208969,-0.025279115885496) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.119567818939686,0.018182113766670,0.003291304223239,-0.039133999496698,-0.010616342537105,0.002636281074956,0.063087798655033,-0.056181170046329,0.107755459845066,0.198638364672661,-0.098556339740753,0.183190301060677,-0.061364650726318,-0.027474440634251,-0.125459134578705,0.077403627336025) * MODEL10_texOff(vec2(1,1));
res += mat4(0.168683186173439,-0.265992522239685,0.052409924566746,-0.018225112929940,-0.009127462282777,0.026085942983627,0.045178879052401,-0.008079544641078,-0.047684319317341,-0.253277301788330,0.034570351243019,-0.046302273869514,0.009512420743704,-0.090199656784534,0.021369364112616,0.060650639235973) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.127831324934959,-0.096291303634644,0.094697311520576,-0.030484309419990,0.086103565990925,0.037915773689747,0.017392689362168,0.017543552443385,-0.065565884113312,0.262522071599960,0.083207704126835,-0.212642222642899,0.027856364846230,-0.041220553219318,0.014455934986472,-0.207354992628098) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.146743193268776,0.213444262742996,-0.010028122924268,-0.005306143313646,0.017266670241952,0.151566371321678,-0.133802488446236,0.059084527194500,0.166976809501648,-0.005113895982504,-0.115143768489361,-0.021858610212803,0.076840274035931,0.261657536029816,0.084971524775028,-0.087560541927814) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.121826484799385,-0.031603038311005,0.132313460111618,0.028558855876327,-0.006447177845985,0.313557624816895,-0.069847688078880,-0.042496338486671,0.015354738570750,0.116424284875393,0.099208205938339,0.092066317796707,-0.058981634676456,0.128197759389877,0.058545242995024,0.041310712695122) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.058203861117363,0.199222087860107,-0.196393907070160,0.141566291451454,0.116894006729126,-0.082545161247253,0.116944797337055,0.027269436046481,-0.106896631419659,-0.204322755336761,-0.112616933882236,0.184505462646484,0.181835949420929,0.195117220282555,-0.265888810157776,0.253309130668640) * MODEL11_texOff(vec2(0,0));
res += mat4(0.087880752980709,-0.026863481849432,0.095960341393948,0.060137666761875,-0.116646245121956,-0.156244784593582,0.159820020198822,0.022325647994876,-0.309180200099945,-0.026212908327579,0.082412891089916,-0.059212356805801,0.104184746742249,-0.132945924997330,0.250706434249878,-0.034264557063580) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.044544372707605,-0.004671153146774,0.056485585868359,-0.003577322233468,0.027760960161686,-0.009697890840471,-0.008241530507803,-0.025448657572269,0.110722817480564,0.068812809884548,-0.015387180261314,0.056655295193195,0.027919881045818,-0.070893511176109,0.005809826776385,-0.081671893596649) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.005946330726147,-0.070825263857841,0.151854291558266,0.095313340425491,0.126042544841766,0.276657104492188,-0.081584759056568,-0.025787709280849,0.066025450825691,0.089306659996510,-0.114883959293365,-0.043675921857357,-0.094522394239902,-0.237035363912582,-0.024576310068369,0.017114946618676) * MODEL11_texOff(vec2(1,0));
res += mat4(0.065379083156586,-0.350119769573212,0.324492663145065,-0.204554602503777,0.124483034014702,0.136190623044968,0.047645837068558,0.049542728811502,0.168051481246948,-0.077033378183842,-0.027089679613709,-0.013070889748633,-0.049172651022673,0.126802816987038,-0.042443744838238,-0.009234226308763) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.085090450942516,-0.123178191483021,0.008967253379524,-0.141795575618744,0.007351960521191,0.028839418664575,0.019566845148802,-0.008656063117087,0.038270797580481,-0.203630745410919,0.067178472876549,-0.104157522320747,0.088450208306313,-0.110918030142784,0.009119542315602,-0.103237248957157) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.049300666898489,-0.052132092416286,0.067088589072227,-0.314754039049149,0.109748609364033,0.053360976278782,0.028232160955667,0.107231996953487,-0.052397429943085,-0.250435262918472,0.097746923565865,-0.143775880336761,0.198208540678024,-0.214195907115936,0.107674047350883,-0.020130362361670) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.130880728363991,0.073661677539349,-0.011267834343016,-0.243317008018494,0.029069453477859,0.017103152349591,-0.010275330394506,-0.048087172210217,0.069901511073112,-0.144596546888351,-0.150568440556526,0.024021932855248,0.010849499143660,0.153190508484840,-0.079898513853550,-0.050622325390577) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.072833247482777,-0.179722815752029,-0.069677919149399,0.102617874741554,-0.238264456391335,0.048058222979307,0.121828414499760,0.025606323033571,-0.158504530787468,0.064332820475101,-0.060282308608294,0.117387503385544,-0.013922615908086,0.250465869903564,0.005120632238686,0.069223962724209) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.310099691152573,-0.323548525571823,0.213671535253525,0.243990465998650,0.201267644762993,0.093641549348831,0.024720586836338,0.529909312725067,0.072105899453163,0.071545764803886,-0.223495990037918,0.374797672033310,0.022602947428823,-0.047658655792475,0.160740286111832,0.028939811512828) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.215501576662064,-0.154495194554329,0.226114869117737,-0.331311374902725,-0.039139628410339,0.084956184029579,0.027184415608644,-0.136627733707428,0.042466580867767,0.132267326116562,0.052678644657135,-0.112045601010323,0.122546799480915,0.088834136724472,-0.297617852687836,-0.020218228921294) * MODEL12_texOff(vec2(0,1));
res += mat4(0.059469997882843,0.057273823767900,0.088293753564358,0.115889057517052,-0.030027110129595,-0.070697546005249,-0.071035280823708,-0.125478073954582,0.035700567066669,0.170005187392235,-0.020172595977783,0.046472765505314,0.102790035307407,0.099001139402390,0.002795813838020,0.072779923677444) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.149574160575867,0.079587437212467,-0.014101203531027,0.257463485002518,0.131169602274895,-0.043458417057991,-0.045981064438820,0.031925719231367,-0.121636919677258,-0.077143333852291,-0.076339296996593,0.236372351646423,-0.082823745906353,0.219608098268509,-0.008855954743922,-0.097981147468090) * MODEL12_texOff(vec2(1,0));
res += mat4(0.135714620351791,-0.107729725539684,-0.013420054689050,-0.199585288763046,0.063497006893158,-0.032805524766445,-0.129412367939949,-0.031402606517076,0.046186868101358,-0.191741868853569,0.217640206217766,-0.184673428535461,0.015497189946473,-0.123936958611012,0.088223285973072,-0.036157645285130) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.288981407880783,0.028552748262882,0.131494954228401,-0.063623957335949) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 5_2

vec4 hook()
{
vec4 res = vec4(-0.045736517757177,0.000348834786564,-0.014338447712362,0.069368340075016);
res += mat4(-0.065600275993347,0.011742823757231,0.025143552571535,-0.032479520887136,-0.115650840103626,-0.200157627463341,0.074565313756466,0.014131314121187,-0.090770855545998,0.081442363560200,-0.082120805978775,0.003894769120961,0.034615039825439,0.074764430522919,0.068031989037991,0.053549326956272) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.202869459986687,-0.119861885905266,0.122035317122936,0.169257193803787,-0.098054163157940,0.235643804073334,-0.072393655776978,0.035023983567953,0.060749009251595,0.105370379984379,0.021163741126657,-0.342452555894852,-0.001535395625979,0.115402534604073,0.079221419990063,0.051549650728703) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.117221079766750,-0.118256226181984,0.127761065959930,-0.132364228367805,0.071471750736237,0.284474462270737,-0.136775001883507,-0.036346234381199,0.118492238223553,-0.070207558572292,-0.095426268875599,-0.062540933489799,0.034357048571110,-0.145718947052956,-0.063141494989395,-0.054395955055952) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.101023212075233,-0.259729743003845,-0.192144513130188,-0.074246279895306,-0.105255179107189,-0.219792783260345,0.037844628095627,0.011567882262170,-0.147143244743347,-0.021428586915135,0.048261430114508,0.017035765573382,0.045433647930622,0.169103071093559,-0.161257907748222,-0.073283910751343) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.058039635419846,0.193957105278969,0.046331133693457,0.095864981412888,0.175226300954819,0.215560957789421,-0.081691846251488,-0.129314869642258,0.135742083191872,-0.066075876355171,-0.127120897173882,-0.036002263426781,-0.187125638127327,-0.070010952651501,0.429111748933792,0.072628617286682) * MODEL7_texOff(vec2(0,0));
res += mat4(0.314028710126877,-0.115214407444000,-0.045955657958984,-0.057693324983120,-0.136250168085098,-0.212625697255135,0.266135305166245,0.020268213003874,0.152112320065498,-0.077470391988754,-0.022472197189927,0.006775294430554,0.179183885455132,0.193565174937248,-0.013357046991587,0.033352885395288) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.009767014533281,-0.110410131514072,0.044374618679285,0.007755701895803,-0.050014503300190,0.161663666367531,-0.004349091555923,-0.042245209217072,-0.101821854710579,0.072794608771801,-0.087585352361202,-0.033837955445051,0.022908143699169,-0.045143712311983,0.042171820998192,-0.012470841407776) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.248965501785278,0.017025690525770,-0.287155121564865,0.194421231746674,0.144261822104454,0.224253520369530,0.197377875447273,-0.180273294448853,-0.002241693204269,-0.313776075839996,0.044978417456150,0.018700951710343,-0.011134349741042,-0.084678299725056,0.011684704571962,-0.074742376804352) * MODEL7_texOff(vec2(1,0));
res += mat4(0.173144802451134,0.044187724590302,-0.089655049145222,0.025395886972547,-0.203205481171608,0.219683647155762,0.153230309486389,0.001339940354228,0.044703491032124,0.111816167831421,-0.078067258000374,0.058328554034233,-0.082608319818974,0.098540879786015,0.060877200216055,0.068385995924473) * MODEL7_texOff(vec2(1,1));
res += mat4(0.032269358634949,-0.073337934911251,0.015956837683916,-0.054554492235184,-0.008586233481765,0.262141972780228,0.058200798928738,0.115789987146854,0.061009239405394,0.047260180115700,-0.150880560278893,-0.197268232703209,-0.175048395991325,0.059364542365074,0.138444945216179,0.116353102028370) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.183853819966316,-0.042897094041109,0.347583889961243,0.032328091561794,0.015399295836687,0.319842010736465,-0.041302423924208,-0.042286004871130,0.127822309732437,-0.069328904151917,-0.127869561314583,0.171340093016624,-0.093771323561668,-0.142575919628143,0.077805191278458,0.014971284195781) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.013962135650218,-0.029954316094518,0.079461269080639,0.032763142138720,-0.114192031323910,-0.109789185225964,-0.110535494983196,0.101849794387817,-0.009696916677058,-0.246179476380348,-0.005850686226040,0.065871521830559,0.225040495395660,0.061045534908772,-0.067786782979965,0.153067827224731) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.003307718550786,0.026540659368038,0.270189464092255,0.067283719778061,-0.066020883619785,0.058174826204777,0.032759558409452,0.053825326263905,0.021584557369351,-0.125916346907616,0.105501607060432,0.064110971987247,-0.156139522790909,0.021322008222342,-0.149265289306641,-0.020807005465031) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.164032399654388,0.175659880042076,0.216345265507698,0.151984617114067,-0.041460085660219,0.042890232056379,0.041623987257481,-0.036260768771172,0.196046128869057,-0.035175386816263,-0.227695792913437,0.030356230214238,0.055515591055155,-0.109461985528469,0.375633984804153,-0.288647294044495) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.075563855469227,-0.082284972071648,-0.021342381834984,-0.033021982759237,-0.202214062213898,-0.038494892418385,0.089609555900097,-0.104325085878372,-0.350834518671036,-0.077472470700741,0.123518176376820,-0.053403254598379,0.239611983299255,0.072247773408890,-0.091827794909477,-0.059492945671082) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.013489367440343,-0.117339476943016,-0.078614622354507,-0.002155139110982,-0.009098110720515,0.029258104041219,-0.343179494142532,0.064156673848629,-0.096924968063831,-0.147931575775146,-0.221126049757004,0.124137960374355,-0.010338318534195,-0.084451168775558,0.089259676635265,0.049919828772545) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.145494118332863,0.113221891224384,0.188203155994415,-0.028987202793360,-0.116172634065151,-0.059808250516653,0.032783251255751,0.017435653135180,0.323025405406952,-0.000640283338726,-0.079100929200649,0.112256333231926,-0.174401298165321,0.046763613820076,-0.104264877736568,-0.091879114508629) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.043588150292635,-0.031320024281740,0.013753747567534,0.026665484532714,-0.022963112220168,0.029227728024125,-0.064949564635754,-0.128928959369659,-0.068959109485149,-0.149056956171989,-0.042328421026468,0.022440319880843,0.107757374644279,0.079679831862450,-0.038356550037861,0.047170538455248) * MODEL8_texOff(vec2(1,1));
res += mat4(0.055354975163937,0.163042679429054,-0.043752148747444,0.063957311213017,-0.007310734596103,-0.058631710708141,-0.116023100912571,-0.024551980197430,-0.176565587520599,0.069120645523071,-0.023578355088830,0.093012228608131,-0.035034183412790,-0.059446681290865,0.071022227406502,-0.079963281750679) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.033903941512108,0.007950955070555,-0.084449283778667,0.055864613503218,0.077880918979645,-0.020803077146411,-0.041322428733110,-0.029982920736074,-0.025766998529434,0.035048585385084,0.039036531001329,0.094517648220062,-0.158231943845749,0.080784685909748,0.112051635980606,0.392606943845749) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.010483538731933,-0.170633256435394,0.072836279869080,-0.048842564225197,-0.013089488260448,-0.037089422345161,0.072244636714458,0.000803851056844,0.137976363301277,-0.013700354844332,0.130222380161285,0.015735616907477,0.250952661037445,0.050438735634089,-0.122941650450230,0.295670121908188) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.120773158967495,0.010320568457246,-0.277746915817261,-0.013095444068313,-0.110636815428734,-0.193537220358849,-0.313063591718674,-0.041325464844704,-0.163040295243263,0.213387489318848,-0.177789881825447,0.019246175885201,-0.195842877030373,-0.459853172302246,0.024214083328843,-0.070304639637470) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.248033270239830,-0.335491329431534,-0.289720326662064,0.071881584823132,-0.052139017730951,0.009858567267656,-0.103214807808399,-0.254714787006378,0.221155196428299,-0.234210640192032,0.090180031955242,-0.334454894065857,-0.172322452068329,0.214521214365959,0.120121046900749,-0.215166032314301) * MODEL9_texOff(vec2(0,0));
res += mat4(0.267598658800125,0.022364156320691,-0.102530062198639,0.157917901873589,0.021865580230951,0.135633587837219,-0.127995327115059,0.060568895190954,0.065556943416595,-0.046374108642340,0.117091707885265,-0.165541812777519,0.396763712167740,0.287588626146317,-0.026129577308893,0.108663000166416) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.028850199654698,0.095177449285984,-0.091116957366467,-0.022843129932880,0.013791509903967,0.099317677319050,0.159314036369324,0.101135343313217,-0.005329511594027,0.216803684830666,0.112533889710903,-0.007163953501731,-0.105065576732159,0.013960642740130,-0.267689406871796,-0.005206757690758) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.021010395139456,0.008462553843856,-0.040605869144201,-0.069237411022186,-0.066384181380272,-0.049606397747993,0.000852514698636,0.053351007401943,0.048916682600975,-0.120644554495811,0.167650029063225,0.068527206778526,0.066585972905159,-0.230290204286575,0.002092497656122,-0.266542881727219) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.062210448086262,0.000563099980354,0.108470343053341,0.029417073354125,-0.079723685979843,0.072352178394794,-0.108867600560188,-0.018732802942395,-0.003457967890427,-0.079574890434742,0.081240609288216,-0.029117487370968,0.082205072045326,0.129223227500916,-0.029756411910057,-0.057965595275164) * MODEL9_texOff(vec2(1,1));
res += mat4(0.041700579226017,0.071515768766403,-0.076353296637535,-0.046526305377483,0.085583619773388,-0.112834751605988,0.080029167234898,0.010540426708758,-0.097880065441132,0.090234845876694,-0.022773651406169,0.117294035851955,0.046704079955816,0.030858354642987,0.047639999538660,0.050362881273031) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.227323606610298,-0.138257995247841,-0.072513476014137,-0.026110682636499,0.052249699831009,-0.132442310452461,0.007994378916919,0.109564669430256,0.393848299980164,-0.013810125179589,-0.203575789928436,-0.059579402208328,-0.053085833787918,0.004399145953357,-0.005453034304082,0.017213935032487) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.139635518193245,0.009372626431286,-0.028911439701915,0.003120780922472,-0.071641080081463,-0.000116150709800,-0.002748486818746,0.012078871019185,-0.169485315680504,0.039886917918921,-0.092937983572483,0.039647996425629,-0.016528874635696,0.011148149147630,0.033197402954102,0.051314931362867) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.136856883764267,0.052790164947510,0.002557476051152,-0.028280010446906,-0.016351051628590,0.098407037556171,0.242842271924019,0.081555314362049,0.018950544297695,0.303239852190018,-0.238094344735146,-0.091208979487419,-0.029019504785538,-0.073180347681046,0.011284327134490,-0.040583997964859) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.068588137626648,0.151328116655350,-0.176844671368599,0.038338929414749,0.223884731531143,0.084756672382355,-0.102748572826385,0.015202511101961,0.016566876322031,-0.223433375358582,-0.251370906829834,0.125739529728889,-0.063902914524078,-0.095744200050831,0.022101560607553,0.013707168400288) * MODEL10_texOff(vec2(0,0));
res += mat4(0.123714029788971,0.014600133523345,-0.003474731463939,0.120935373008251,-0.005304940510541,-0.118632785975933,0.135406717658043,-0.047701030969620,-0.259628564119339,-0.055773764848709,-0.029056362807751,-0.067158155143261,0.117663107812405,-0.010911852121353,-0.014717957936227,-0.041737627238035) * MODEL10_texOff(vec2(0,1));
res += mat4(0.156325176358223,-0.045208405703306,0.007812197320163,0.013656655326486,0.047916412353516,0.022733245044947,-0.114775627851486,-0.149728447198868,0.016100989654660,0.042046118527651,0.178723722696304,0.006388856563717,-0.067168459296227,-0.102841466665268,0.169118598103523,0.072421640157700) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.041219785809517,-0.067586585879326,0.016378851607442,0.033628161996603,0.573879837989807,0.089544549584389,0.229508966207504,0.054813079535961,-0.196070343255997,0.096794359385967,0.034627959132195,-0.029129114001989,-0.058916471898556,-0.041122980415821,0.133363157510757,-0.002708652056754) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.039188168942928,0.051615364849567,-0.085774704813957,-0.045964539051056,0.020832750946283,-0.034291803836823,0.094166249036789,-0.130324393510818,0.158359169960022,-0.036656994372606,0.079753220081329,0.059634655714035,0.118798263370991,-0.053776413202286,-0.024594880640507,-0.015890706330538) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.039354380220175,0.053430814296007,-0.021844383329153,0.072447553277016,-0.074735477566719,-0.149655476212502,-0.000085417617811,-0.001751547562890,-0.132807821035385,0.075034789741039,-0.091983839869499,-0.108138605952263,-0.071440860629082,0.192251816391945,-0.181303054094315,0.069563597440720) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.057962428778410,-0.127432867884636,0.047788869589567,-0.097276784479618,-0.087916515767574,-0.333644181489944,-0.104165650904179,-0.043542250990868,-0.020336825400591,-0.131343260407448,0.069370411336422,-0.022365201264620,0.115799874067307,-0.195957943797112,-0.052416168153286,-0.236979648470879) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.185716003179550,0.097816444933414,0.004593513440341,0.025552574545145,0.112030103802681,0.033984746783972,0.231870070099831,0.047596011310816,0.089101627469063,0.060253076255322,0.057284560054541,0.051241979002953,-0.062299303710461,-0.059808660298586,-0.016856791451573,-0.047361675649881) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.013206196948886,0.120519019663334,-0.034003280103207,0.020038368180394,-0.025588009506464,0.023169312626123,0.035824500024319,-0.084618277847767,0.004472582135350,0.095189824700356,-0.009759377688169,-0.007095688953996,0.016537081450224,0.200447902083397,-0.071238167583942,0.029676655307412) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.080913282930851,-0.418095082044601,-0.030279017984867,0.047280490398407,-0.046489030122757,-0.094579242169857,-0.104174204170704,0.074011571705341,0.174472704529762,0.027923105284572,-0.175084039568901,0.224756926298141,0.374964892864227,0.007955200970173,0.046160649508238,0.254123777151108) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.227230176329613,0.110832944512367,-0.166689172387123,0.253589957952499,-0.062843844294548,-0.183255806565285,0.036464717239141,-0.024940026924014,-0.153674140572548,-0.199722021818161,0.091845728456974,0.018786266446114,-0.359446257352829,-0.258506357669830,0.113372094929218,-0.189754769206047) * MODEL11_texOff(vec2(0,1));
res += mat4(0.097266830503941,0.200318083167076,0.157777220010757,-0.093196764588356,0.025498880073428,0.007139537483454,0.163655236363411,0.042633872479200,-0.035764899104834,-0.070394799113274,0.048702526837587,-0.069625467061996,0.035179171711206,0.002610088326037,-0.010355334728956,0.001113070640713) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.080400571227074,-0.117353618144989,-0.059721138328314,0.041293930262327,0.019873080775142,-0.017550932243466,-0.032143309712410,0.048132695257664,0.074918493628502,-0.111243709921837,-0.098869733512402,-0.118561998009682,-0.103334933519363,0.251181125640869,0.066372863948345,0.076413325965405) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.312744736671448,-0.142715752124786,0.116913989186287,0.015479277819395,0.141164794564247,-0.088420100510120,0.185381725430489,-0.034544244408607,-0.084717385470867,0.028177125379443,0.011572156101465,0.003807344939560,0.091054916381836,-0.077974103391171,0.111602254211903,0.089929752051830) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.013818092644215,0.069888688623905,-0.041457619518042,-0.028564605861902,-0.110407851636410,0.016090663149953,-0.063714414834976,0.034155718982220,-0.221493035554886,0.110403634607792,-0.136522769927979,-0.018805980682373,-0.094803668558598,-0.016535365954041,-0.096352100372314,0.157199159264565) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.029730807989836,-0.059249173849821,0.020667320117354,-0.057334713637829,-0.031026676297188,0.018751518800855,0.012229736894369,-0.093541815876961,0.120930917561054,-0.141101703047752,-0.046735133975744,-0.093937635421753,0.108028307557106,-0.005812725052238,0.161662489175797,-0.086376644670963) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.017633074894547,0.008961806073785,-0.010146515443921,-0.081108465790749,0.027261106297374,0.015764323994517,0.006880045402795,0.090364858508110,0.084340706467628,0.076656758785248,-0.004473397508264,0.129240959882736,-0.023544520139694,-0.034257881343365,0.049381073564291,0.026555908843875) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.001424617832527,-0.003770865267143,-0.299677014350891,-0.040441684424877,0.055471524596214,0.052551854401827,-0.149345457553864,-0.091423802077770,0.008127405308187,-0.070254758000374,-0.005968135781586,0.129092812538147,-0.056019186973572,0.178535282611847,-0.032440323382616,0.127448081970215) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.288823604583740,-0.287950396537781,-0.461297750473022,0.047030456364155,-0.132526114583015,0.011279278434813,0.153440639376640,-0.164784535765648,0.260412424802780,0.174843564629555,0.045151252299547,-0.017818171530962,0.077953450381756,0.052329566329718,0.222344040870667,-0.113460831344128) * MODEL12_texOff(vec2(0,0));
res += mat4(0.054661840200424,-0.036389701068401,0.236344933509827,0.009704634547234,0.020036276429892,-0.107565917074680,0.157079622149467,-0.162931144237518,0.036045406013727,0.044554252177477,0.017426410689950,0.031682543456554,0.140203714370728,0.263968765735626,0.045261453837156,0.215930938720703) * MODEL12_texOff(vec2(0,1));
res += mat4(0.015877325087786,0.121172204613686,-0.077349692583084,-0.016745192930102,-0.001414066180587,0.054667819291353,-0.029813319444656,0.078161679208279,0.103390492498875,-0.066781967878342,0.215038254857063,-0.019910795614123,0.040555689483881,0.238316878676414,-0.126042112708092,-0.017317231744528) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.096497051417828,-0.221411973237991,0.054562021046877,-0.099408604204655,-0.174516916275024,-0.104217626154423,0.111855700612068,0.044965770095587,0.130297228693962,0.036143250763416,0.104376256465912,0.114956878125668,-0.085895098745823,-0.186762958765030,-0.198103293776512,-0.071248792111874) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.014158420264721,-0.113370001316071,0.123666040599346,-0.065292418003082,-0.018306042999029,-0.119209542870522,0.037285175174475,0.095203943550587,-0.223000064492226,-0.021306987851858,-0.085288308560848,-0.047738850116730,-0.232735931873322,0.043194144964218,0.028158888220787,0.005835552699864) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.198912411928177,-0.158516496419907,0.364332824945450,0.272796809673309) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 5_3

vec4 hook()
{
vec4 res = vec4(-0.068889863789082,-0.342295408248901,-0.134365215897560,-0.270386844873428);
res += mat4(0.026850400492549,-0.258290648460388,0.103193052113056,0.237033560872078,-0.197808623313904,-0.112339176237583,-0.202825248241425,0.075867883861065,-0.173046931624413,-0.053101710975170,-0.097220346331596,-0.040451262146235,0.086848437786102,0.183391228318214,0.371257007122040,-0.113426998257637) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.150478437542915,-0.122290223836899,-0.012667352333665,0.059318050742149,-0.121919952332973,0.089629299938679,-0.018353743478656,-0.135783657431602,-0.263380587100983,-0.015426969155669,-0.086106851696968,-0.211463078856468,-0.023854939267039,-0.175246730446815,0.051405452191830,0.079342298209667) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.069674514234066,-0.120811179280281,-0.001676561310887,0.064476110041142,-0.101073220372200,0.021139731630683,-0.244154796004295,0.094748131930828,-0.149453043937683,0.106263250112534,-0.040070202201605,-0.191122367978096,-0.078373208642006,0.068075761198997,0.099872678518295,-0.162236362695694) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.141914933919907,0.198184058070183,-0.144909217953682,0.022617908194661,0.032015368342400,-0.084431990981102,0.037615124136209,0.072513952851295,-0.037500921636820,-0.098531574010849,-0.096093401312828,-0.040388099849224,-0.086705945432186,0.143990010023117,0.054179601371288,0.081663593649864) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.072520576417446,0.156434327363968,-0.157905325293541,0.094437725841999,-0.172859802842140,0.093244202435017,-0.141830593347549,-0.021057792007923,-0.169133082032204,-0.163795053958893,-0.051376812160015,-0.090978756546974,0.135835766792297,-0.007786528207362,0.069595918059349,0.121485538780689) * MODEL7_texOff(vec2(0,0));
res += mat4(0.073700860142708,-0.052179586142302,-0.100295074284077,-0.066573135554790,-0.041286256164312,-0.083946742117405,0.230946376919746,0.025631647557020,-0.098471425473690,-0.178618967533112,-0.028750985860825,-0.043973378837109,0.001512480550446,-0.097409881651402,-0.237328886985779,0.034874163568020) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.037251088768244,-0.049121472984552,0.018011957406998,-0.071198135614395,-0.036819729954004,0.117675639688969,-0.032696224749088,0.050149951130152,0.040887888520956,0.127324417233467,0.057501386851072,0.064219161868095,-0.085384488105774,-0.007209089118987,0.009925168007612,-0.032283376902342) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.032287735491991,0.103706441819668,-0.137000620365143,0.127513796091080,-0.014787952415645,0.174786925315857,0.311443001031876,-0.031102074310184,-0.125303670763969,-0.031218677759171,0.322436362504959,0.159261733293533,-0.089717760682106,-0.056945551186800,0.092380821704865,-0.039799727499485) * MODEL7_texOff(vec2(1,0));
res += mat4(0.097426421940327,0.020153678953648,-0.043396435678005,0.030384698882699,-0.165175139904022,-0.021113188937306,0.268107414245605,-0.077814251184464,0.017842425033450,0.055854171514511,0.016933584585786,-0.036534655839205,-0.182083919644356,-0.160059720277786,-0.125155046582222,-0.057742659002542) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.015877678990364,0.041941490024328,0.085144743323326,0.018266355618834,0.253184467554092,-0.042323008179665,0.116403408348560,0.078162081539631,-0.023876322433352,-0.102616682648659,0.021111521869898,-0.071962893009186,0.105424985289574,-0.168861135840416,-0.131421789526939,0.047197788953781) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.076627887785435,-0.020022425800562,-0.114203579723835,-0.265590339899063,-0.013705344870687,0.070377647876740,-0.134179204702377,0.128371566534042,0.126498833298683,0.188741847872734,0.219832748174667,-0.028796972706914,0.047063007950783,-0.039667338132858,0.047340389341116,0.130804076790810) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.084512606263161,-0.132816538214684,-0.018761493265629,-0.240618318319321,0.246443510055542,-0.024432359263301,0.078931584954262,0.133283212780952,0.058246243745089,0.019486408680677,0.030120369046926,0.077480241656303,-0.126483947038651,-0.023197334259748,-0.034484058618546,-0.023740060627460) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.169454753398895,-0.025396220386028,-0.032593023031950,0.028237264603376,0.057921256870031,0.078183710575104,-0.042058963328600,0.198165416717529,0.106447555124760,0.026155909523368,-0.058282174170017,-0.045064687728882,0.078708745539188,0.077678501605988,-0.147636845707893,0.220287531614304) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.103074342012405,0.002358829602599,-0.255764812231064,-0.050269838422537,0.237133607268333,0.063622280955315,-0.063683599233627,0.055158741772175,0.061349015682936,0.165988922119141,0.225261420011520,-0.080242648720741,-0.101145915687084,0.159129425883293,0.126552298665047,0.169713318347931) * MODEL8_texOff(vec2(0,0));
res += mat4(0.071243397891521,-0.269107162952423,-0.233054652810097,-0.060050610452890,0.053207844495773,-0.003283597063273,0.192285761237144,-0.022031009197235,0.214260905981064,-0.125400885939598,0.147755652666092,-0.012232227250934,0.007150683086365,0.021143324673176,0.008842104114592,-0.050659824162722) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.158087357878685,-0.025087177753448,0.045056283473969,0.098153375089169,-0.034739553928375,0.139721095561981,-0.223312675952911,-0.125991687178612,0.099647291004658,-0.051822416484356,0.086121998727322,0.157245412468910,-0.089700520038605,-0.119175679981709,0.016017474234104,-0.140906736254692) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.146708205342293,-0.075574047863483,-0.034310162067413,-0.041603405028582,-0.052199620753527,0.103727884590626,-0.035613223910332,0.150134041905403,0.008980398997664,0.160516351461411,-0.002635770244524,0.055067099630833,0.073726817965508,-0.051119539886713,0.261452764272690,-0.135261327028275) * MODEL8_texOff(vec2(1,0));
res += mat4(0.032271992415190,0.110393971204758,-0.031966239213943,-0.086209923028946,-0.004304172005504,-0.026680432260036,0.038296859711409,0.157474473118782,0.093772001564503,0.009423268027604,-0.011660310439765,-0.022377088665962,0.209182307124138,0.028607947751880,-0.023645456880331,-0.164282545447350) * MODEL8_texOff(vec2(1,1));
res += mat4(0.079019509255886,-0.167508020997047,-0.010875355452299,0.112876228988171,0.005862129386514,-0.072886556386948,-0.052085041999817,0.075577899813652,0.163073495030403,0.077006801962852,0.110199443995953,0.228913843631744,-0.004149204120040,-0.138232648372650,0.011698462069035,0.073466703295708) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.021100863814354,0.284290492534637,0.163764342665672,0.478004425764084,0.168682336807251,0.196581736207008,0.104867078363895,0.071314968168736,-0.120543271303177,0.149378672242165,0.026754712685943,0.075196325778961,0.173694670200348,0.111835524439812,0.029338560998440,0.235011547803879) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.189347654581070,0.140018433332443,-0.041410785168409,-0.149740949273109,0.007599839475006,-0.000098591037386,0.052785895764828,-0.011834932491183,-0.236668646335602,-0.066541478037834,0.061679475009441,0.088554948568344,-0.172353133559227,0.038507442921400,-0.029035264626145,-0.057677473872900) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.042367819696665,-0.348728805780411,0.106604129076004,-0.049626983702183,-0.103750117123127,-0.070338986814022,0.110847219824791,0.070682168006897,0.099908739328384,0.303734809160233,0.006981536280364,0.066934294998646,0.032838799059391,-0.065959349274635,-0.262181580066681,0.162887752056122) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.309412658214569,0.625142574310303,-0.069575347006321,0.038490179926157,0.012533759698272,-0.068506516516209,-0.045794967561960,0.101718172430992,-0.207682117819786,0.062077812850475,-0.076457656919956,-0.245809167623520,0.170850485563278,0.460021108388901,0.094070993363857,0.210714951157570) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.167756929993629,0.267690449953079,-0.021531235426664,-0.020724520087242,0.217393606901169,0.022739203646779,-0.035151425749063,0.061305426061153,0.171860516071320,0.020970555022359,0.021952977403998,-0.094747260212898,0.168815672397614,0.209537193179131,0.044660955667496,-0.115141771733761) * MODEL9_texOff(vec2(0,1));
res += mat4(0.029365776106715,-0.023496849462390,-0.004647947382182,0.046456065028906,0.023192508146167,0.042821686714888,0.058024670928717,-0.094053491950035,-0.064703032374382,0.143304124474525,0.115785419940948,0.101023815572262,0.044644337147474,-0.015768077224493,-0.056035473942757,0.003192005446181) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.136883795261383,-0.096631601452827,0.377238512039185,-0.001890979823656,-0.011840547434986,-0.057314943522215,0.077618196606636,-0.189945667982101,0.160502493381500,-0.096816420555115,0.031186770647764,0.126362755894661,-0.243563622236252,0.042091421782970,0.267063528299332,-0.013111879117787) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.081732496619225,-0.051306091248989,-0.198785871267319,-0.079330384731293,-0.067380078136921,0.010680872946978,-0.217919066548347,-0.115279205143452,0.013591941446066,-0.016498111188412,-0.055494930595160,0.096293292939663,-0.076437518000603,0.011417620815337,-0.004594812169671,-0.004829274024814) * MODEL9_texOff(vec2(1,1));
res += mat4(0.030106611549854,0.069336846470833,-0.014404243789613,-0.089671999216080,0.206772357225418,0.069627165794373,-0.006651407573372,-0.043728698045015,-0.076629549264908,-0.082464218139648,-0.196870341897011,0.016486519947648,0.043801862746477,-0.318982481956482,-0.202440276741982,-0.207711309194565) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.170593082904816,-0.064207330346107,-0.154340878129005,-0.053247772157192,-0.017579674720764,0.074520461261272,0.022203290835023,0.029764924198389,-0.098824016749859,-0.129137456417084,-0.123581901192665,-0.079669684171677,0.031062928959727,-0.318998873233795,-0.098021768033504,-0.211733981966972) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.000026106805308,-0.074951380491257,-0.113446801900864,-0.095785140991211,-0.049938093870878,-0.054357260465622,-0.007865767925978,0.110316194593906,-0.165234521031380,-0.136233732104301,-0.031913168728352,0.015396932139993,-0.046923249959946,-0.179983928799629,-0.201965779066086,-0.183357134461403) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.019407171756029,0.063347645103931,0.112811081111431,-0.072315655648708,-0.027045896276832,-0.408887892961502,0.146209239959717,-0.282938480377197,0.168219819664955,0.019388580694795,-0.220123618841171,-0.091016896069050,-0.021217335015535,-0.300398647785187,-0.090365141630173,-0.160858333110809) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.308635473251343,0.057739317417145,0.049012437462807,-0.020508963614702,-0.223350882530212,0.106846675276756,0.107873365283012,-0.090758293867111,-0.253227174282074,-0.031950037926435,-0.088634565472603,-0.113961003720760,-0.144873678684235,-0.280206143856049,-0.056792631745338,-0.368735522031784) * MODEL10_texOff(vec2(0,0));
res += mat4(0.266158044338226,-0.195262148976326,0.108642704784870,-0.245224192738533,-0.075286842882633,-0.089954800903797,0.092901051044464,0.033132143318653,-0.175776645541191,-0.112472347915173,-0.108755156397820,-0.100599303841591,0.112186007201672,-0.193466588854790,-0.150023117661476,-0.322823464870453) * MODEL10_texOff(vec2(0,1));
res += mat4(0.073543302714825,0.081395372748375,-0.171891406178474,-0.056881841272116,-0.133712574839592,0.030794722959399,-0.197247162461281,-0.165567502379417,-0.139107123017311,-0.038173340260983,-0.026094043627381,0.054091855883598,-0.065262258052826,-0.216708019375801,-0.184758320450783,-0.174632474780083) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.083942599594593,-0.164652109146118,-0.213225275278091,-0.198072224855423,-0.021001335233450,-0.092190049588680,-0.089479289948940,0.035245336592197,0.116973906755447,0.094735160470009,0.112651288509369,-0.037319447845221,0.096117734909058,-0.107585147023201,-0.178732320666313,-0.178806066513062) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.175411224365234,-0.184894531965256,-0.165324255824089,-0.168108820915222,-0.098965011537075,-0.032574161887169,0.044957429170609,-0.038407139480114,0.351700723171234,0.104159675538540,0.007318302989006,-0.105582848191261,0.038165997713804,-0.168947085738182,-0.107588879764080,-0.180889099836349) * MODEL10_texOff(vec2(1,1));
res += mat4(0.085691444575787,-0.016006654128432,-0.104644395411015,0.058894686400890,-0.030389070510864,-0.012506724335253,-0.040777865797281,0.203566730022430,-0.014052901417017,-0.126234576106071,0.000953486713115,-0.015057208947837,0.058244530111551,0.037331204861403,0.018507996574044,0.059201784431934) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.194224670529366,-0.032896842807531,-0.017761638388038,-0.153395622968674,0.135582432150841,0.120547711849213,-0.101828798651695,-0.067758955061436,-0.251228034496307,-0.034500762820244,0.012383162975311,-0.221336767077446,-0.309219509363174,0.010443316772580,0.127034872770309,-0.222629562020302) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.309098482131958,0.090520940721035,-0.161169663071632,-0.147542849183083,-0.037965256720781,0.032342437654734,-0.128470629453659,0.010105695575476,-0.140079006552696,0.032261073589325,-0.002049826318398,0.143915221095085,-0.216480076313019,0.081282071769238,0.025898313149810,0.153054550290108) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.302849501371384,0.095100067555904,-0.079514175653458,0.072622284293175,-0.238031074404716,0.016175467520952,-0.098421536386013,-0.123204916715622,-0.077472768723965,0.285718679428101,0.057667162269354,0.167184934020042,0.004114276263863,0.329333961009979,-0.124954432249069,0.068370118737221) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.154552891850471,-0.111154191195965,0.046396683901548,0.176157027482986,-0.094540767371655,0.013811630196869,-0.024088054895401,0.051620956510305,0.309901028871536,-0.003367377910763,0.066769167780876,0.133075580000877,0.167111277580261,-0.262057453393936,-0.023572271689773,-0.087943807244301) * MODEL11_texOff(vec2(0,0));
res += mat4(0.087204739451408,-0.033501766622066,-0.216064035892487,0.201641991734505,-0.210216253995895,0.154525905847549,0.036371953785419,0.088077642023563,0.089886434376240,0.133436962962151,0.074176862835884,0.055335219949484,0.023604799062014,-0.200249344110489,0.082293279469013,0.030411442741752) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.015995550900698,0.127927750349045,-0.052527904510498,-0.081876739859581,0.024552389979362,0.039471145719290,-0.194984272122383,0.047277085483074,0.132541149854660,-0.244113713502884,-0.233943179249763,-0.274461358785629,0.000399842858315,0.031285982578993,-0.103538021445274,-0.014478277415037) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.026471730321646,-0.180809706449509,-0.015183961018920,-0.066684201359749,0.150519624352455,0.039042767137289,-0.155291855335236,0.019305298104882,-0.078440032899380,-0.134911343455315,-0.069711163640022,-0.143033295869827,0.172026276588440,0.175785720348358,-0.005822954233736,0.127686023712158) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.016174966469407,0.040948182344437,-0.043655946850777,0.051139455288649,-0.068487010896206,0.166595906019211,0.024940764531493,-0.005380653310567,-0.048606697469950,-0.193146511912346,-0.022378616034985,-0.028572060167789,0.150094434618950,0.021319620311260,0.106081880629063,0.025610305368900) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.029768338426948,0.108930319547653,0.177068352699280,-0.052061691880226,0.060356218367815,-0.055019736289978,0.043271910399199,-0.126186132431030,-0.039713833481073,0.128384575247765,0.019214479252696,0.094865024089813,-0.150277256965637,-0.058505550026894,-0.042200349271297,-0.167594581842422) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.081400558352470,0.029280738905072,0.189474523067474,0.199461534619331,0.036265630275011,0.064769722521305,-0.095245927572250,-0.051947440952063,-0.319903373718262,0.140576884150505,0.113874763250351,-0.127254277467728,-0.216002330183983,-0.022298203781247,0.007396187167615,-0.245808303356171) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.097581759095192,0.127142056822777,0.048223234713078,0.248639121651649,0.025290930643678,-0.051580246537924,0.039927434176207,0.068734161555767,-0.135016649961472,0.062043692916632,-0.095615118741989,0.021602349355817,-0.105102226138115,-0.050855696201324,0.019317852333188,-0.083319261670113) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.024853404611349,0.035829640924931,0.091984093189240,-0.073488965630531,0.005754107143730,0.002135791117325,0.082468308508396,-0.144519135355949,-0.022164477035403,0.208297699689865,0.086827956140041,-0.057811014354229,-0.131818056106567,-0.045034505426884,0.265189498662949,-0.172724485397339) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.364073514938354,0.019811931997538,0.039958056062460,0.117032751441002,0.010506406426430,0.005632495973259,0.072540305554867,-0.045015837997198,0.258156567811966,-0.162840142846107,0.242728844285011,-0.297248542308807,-0.189151749014854,-0.055363785475492,0.127319559454918,0.032262727618217) * MODEL12_texOff(vec2(0,0));
res += mat4(0.125461295247078,0.038376819342375,0.030741335824132,0.002553911879659,-0.041829463094473,-0.073937542736530,0.151993051171303,0.054820425808430,0.324060976505280,-0.086726322770119,-0.004581464920193,0.074658945202827,-0.166501671075821,0.125429883599281,-0.046734187752008,0.031095238402486) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.142014786601067,0.135669961571693,-0.119331330060959,-0.006822381168604,-0.027224356308579,-0.053020995110273,-0.052696753293276,0.027743518352509,-0.024798337370157,-0.087620198726654,-0.051172684878111,0.002922668587416,-0.199473887681961,0.000068543427915,0.047280840575695,0.000190532286069) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.001848198589869,0.041760478168726,0.031988199800253,-0.080226428806782,0.020182814449072,-0.012330937199295,0.045161210000515,0.133263245224953,-0.101622357964516,-0.153719365596771,0.083231046795845,-0.085420720279217,-0.004552115686238,-0.148188307881355,0.125391185283661,0.055260747671127) * MODEL12_texOff(vec2(1,0));
res += mat4(0.125759124755859,0.032563231885433,-0.033166240900755,0.032190151512623,0.044847182929516,-0.084349028766155,-0.092878118157387,0.070107646286488,-0.139127522706985,0.223512366414070,0.200830325484276,0.035011410713196,-0.205945998430252,0.033591769635677,-0.334240645170212,-0.127374678850174) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.029577668756247,-0.030723709613085,0.524243414402008,0.112032562494278) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 5_4

vec4 hook()
{
vec4 res = vec4(-0.059827242046595,-0.092458464205265,-0.189476728439331,-0.074764795601368);
res += mat4(0.009126844815910,0.076497331261635,0.123729519546032,0.045046117156744,-0.039683703333139,0.089737489819527,0.147159665822983,0.115542329847813,0.026683280244470,0.117509678006172,0.042218122631311,0.029991056770086,0.145910695195198,-0.044547837227583,-0.231195077300072,0.022700330242515) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.157970830798149,0.107514649629593,0.038267496973276,-0.194729074835777,0.112652428448200,-0.072220429778099,-0.077588804066181,0.011115242727101,0.081181101500988,-0.028729936107993,0.046979520469904,-0.153348132967949,-0.273045182228088,0.064570948481560,0.197541415691376,-0.007140312809497) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.112293504178524,-0.136607274413109,-0.040417641401291,0.052199732512236,-0.177333295345306,-0.087901972234249,-0.086937226355076,-0.279045790433884,0.187084287405014,-0.057650569826365,0.160188555717468,-0.015241908840835,0.060019336640835,-0.044461861252785,0.225763469934464,0.075333058834076) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.024338480085135,-0.109342180192471,-0.028887996450067,0.170640394091606,-0.058442510664463,0.047200135886669,-0.014490838162601,0.041031010448933,-0.012843129225075,0.070687197148800,-0.111509226262569,-0.036577425897121,0.097227618098259,-0.112915709614754,0.024420414119959,-0.097591646015644) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.095915816724300,-0.092388093471527,-0.203419804573059,-0.219905734062195,-0.110659107565880,-0.113988973200321,-0.005859237164259,0.000540577922948,0.116830743849277,-0.070226773619652,0.106179162859917,0.111689262092113,0.243497669696808,0.258390188217163,-0.229869410395622,-0.105366528034210) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.143580287694931,0.103213034570217,-0.017822841182351,-0.065844982862473,-0.029736272990704,0.095477990806103,0.006683176383376,0.022112587466836,0.141263872385025,-0.295523732900620,0.103848762810230,-0.230551525950432,-0.085372060537338,-0.250529825687408,0.080233290791512,0.003715580794960) * MODEL7_texOff(vec2(0,1));
res += mat4(0.110295780003071,-0.036148760467768,0.015924729406834,0.145318701863289,-0.109110049903393,-0.024092067033052,0.082027025520802,-0.124411866068840,0.025031376630068,0.019407344982028,0.116321951150894,-0.025162262842059,-0.011233592405915,-0.168292135000229,0.080962762236595,-0.015181595459580) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.086296729743481,-0.091587588191032,-0.154572054743767,-0.096509791910648,-0.056462999433279,-0.096009209752083,-0.066313661634922,-0.149248585104942,-0.013782564550638,-0.031574293971062,0.064540073275566,-0.044311311095953,-0.043597102165222,0.141022428870201,0.141149878501892,-0.013710092753172) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.157829612493515,0.018428394570947,0.018812693655491,0.021492030471563,0.089026376605034,0.097275301814079,-0.136438831686974,0.054833356291056,0.032947890460491,-0.034896187484264,0.105446539819241,-0.108463600277901,0.076290957629681,-0.057666789740324,0.059538554400206,-0.091761231422424) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.003964335191995,-0.017746182158589,-0.074483297765255,0.042197518050671,0.094993650913239,-0.062818609178066,0.080683127045631,-0.056295383721590,0.078581847250462,-0.013738607987761,0.274508774280548,0.097881212830544,-0.161224514245987,0.065969988703728,-0.075257711112499,-0.022188398987055) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.052058905363083,-0.102535530924797,0.053061868995428,0.029655003920197,-0.007187246344984,-0.017925426363945,0.076957032084465,-0.047227330505848,0.055469203740358,-0.059274516999722,-0.152556061744690,-0.095297805964947,-0.080364428460598,0.197897523641586,-0.130909398198128,0.007519501261413) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.024703418835998,0.004977214150131,0.117067649960518,-0.060467079281807,-0.099692881107330,0.019898960366845,0.028323790058494,0.028929824009538,-0.040531057864428,0.099789515137672,0.106444224715233,0.039835616946220,-0.104440130293369,-0.203704357147217,-0.000134077825351,-0.030010947957635) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.011900941841304,-0.043536003679037,0.088486246764660,0.015123130753636,0.073730826377869,-0.063432596623898,0.094533875584602,0.055264603346586,0.112098678946495,-0.060924030840397,0.050197489559650,0.068111360073090,0.028295330703259,0.089660398662090,0.012283342890441,-0.167902871966362) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.036912586539984,-0.024301186203957,0.043659888207912,-0.159122049808502,0.046573083847761,-0.052397310733795,0.160936161875725,-0.004502931609750,0.184200376272202,-0.152082785964012,0.014227909035981,0.137242451310158,0.082310140132904,0.061867408454418,0.079331204295158,0.127472043037415) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.059884425252676,-0.097303234040737,0.131695061922073,0.082939267158508,0.024840384721756,-0.188444644212723,0.124588549137115,-0.034183911979198,0.041823811829090,0.284628838300705,-0.047454997897148,-0.021263545379043,-0.168177723884583,-0.304305881261826,0.025188485160470,0.020659487694502) * MODEL8_texOff(vec2(0,1));
res += mat4(0.049704544246197,-0.003269129432738,-0.025055458769202,0.025019263848662,0.088242813944817,-0.025000348687172,0.000589542847592,-0.213985532522202,0.063617072999477,0.318803638219833,-0.051859725266695,-0.082873292267323,0.055766176432371,-0.014802785590291,0.057700861245394,0.059960823506117) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.063258163630962,-0.066728346049786,0.059928301721811,-0.094650626182556,-0.130339890718460,0.108421221375465,0.030960435047746,-0.030394855886698,-0.010715403594077,-0.099350668489933,-0.114899836480618,0.216360151767731,0.138352230191231,0.242145702242851,0.206193402409554,0.021973807364702) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.020230975002050,0.053770691156387,0.201822683215141,-0.104621455073357,0.121700726449490,0.103265479207039,0.010356476530433,-0.057494264096022,0.052308686077595,-0.057451188564301,-0.018769809976220,-0.091286420822144,0.009109649807215,-0.145498320460320,-0.045304268598557,-0.018761174753308) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.065324276685715,-0.056194350123405,-0.052737288177013,0.115964755415916,-0.079372644424438,-0.014486924745142,0.090003564953804,0.104016549885273,-0.118967704474926,0.026484565809369,-0.193926751613617,0.010192447341979,-0.097844578325748,0.013772675767541,0.217941924929619,0.353769570589066) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.123123347759247,-0.061592478305101,0.013980606570840,0.000491965562105,0.143301039934158,-0.048411317169666,-0.020667530596256,0.058808952569962,-0.048111155629158,-0.132689312100410,-0.192202404141426,-0.047511652112007,-0.311895072460175,0.214048087596893,-0.521806657314301,-0.132846042513847) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.086542040109634,0.146855890750885,0.250711798667908,-0.009356601163745,0.061931516975164,-0.045314148068428,-0.076848655939102,-0.063779480755329,-0.126495257019997,-0.009547828696668,0.047185067087412,-0.040903773158789,-0.230262160301208,-0.154467403888702,-0.269771665334702,0.028921017423272) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.051300540566444,0.037245746701956,-0.004507198464125,0.212243512272835,-0.085864603519440,0.093961402773857,-0.049904309213161,-0.036228198558092,0.118060931563377,-0.024466898292303,-0.019258346408606,-0.285691022872925,0.088993035256863,0.254936158657074,-0.010720298625529,0.246023163199425) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.071230791509151,-0.119376219809055,-0.293636023998260,0.151816681027412,0.140286594629288,0.183167994022369,0.028671197593212,-0.086206413805485,-0.044629767537117,-0.272441208362579,0.164746031165123,0.054761171340942,0.635243713855743,0.243789732456207,0.002906616777182,-0.166227892041206) * MODEL9_texOff(vec2(0,0));
res += mat4(0.118706293404102,-0.153390198945999,0.000337787379976,0.075987450778484,0.088051818311214,-0.036401879042387,0.062308732420206,0.146389320492744,0.065653614699841,0.031037375330925,0.061301261186600,-0.082338556647301,0.124371953308582,-0.524223208427429,0.028830736875534,-0.057176426053047) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.005771102383733,0.042905908077955,-0.018083821982145,-0.106089055538177,0.054991539567709,-0.047062553465366,0.046173222362995,0.057060167193413,-0.006019826512784,0.024956826120615,-0.007388939615339,-0.038837999105453,-0.013037748634815,0.143699899315834,0.034772522747517,-0.091226972639561) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.044225133955479,-0.038472261279821,-0.068477995693684,-0.070923127233982,-0.050217203795910,-0.027863366529346,0.021196736022830,-0.032731149345636,-0.116960905492306,0.013636379502714,0.023617619648576,0.128671571612358,-0.112507671117783,-0.073938854038715,0.065346278250217,0.011483795009553) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.029204292222857,0.055766072124243,0.081663161516190,-0.078715465962887,-0.104298517107964,0.085025139153004,0.111205451190472,0.015760568901896,0.007074604276568,0.110164873301983,0.022963950410485,0.054751571267843,0.068459801375866,-0.122978910803795,0.004284717608243,-0.001790655078366) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.129261538386345,0.021487813442945,-0.107889860868454,-0.044061575084925,-0.138179242610931,0.065941058099270,0.048961821943521,-0.026696510612965,-0.082281820476055,0.054874539375305,0.137170270085335,0.037567760795355,-0.026043673977256,-0.003147359704599,0.022952066734433,0.057940248399973) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.061728935688734,0.001915835775435,0.091593734920025,-0.044653534889221,0.047920253127813,-0.046560194343328,-0.189693704247475,0.025835556909442,0.075167037546635,-0.136777043342590,0.238925293087959,-0.022730171680450,0.002132238820195,0.103288248181343,0.010813049972057,0.049320548772812) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.071585655212402,-0.073481336236000,0.163220867514610,-0.057077739387751,-0.034985307604074,-0.041152160614729,-0.068050660192966,0.013566697016358,0.001601387048140,0.129301175475121,0.001723345136270,0.011883669532835,0.005909206345677,0.002939421916381,-0.098619073629379,-0.079685032367706) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.139095246791840,0.071180142462254,-0.022561360150576,-0.141983821988106,-0.159096047282219,-0.055634573101997,0.151607051491737,-0.378547400236130,-0.009251316078007,-0.033073414117098,0.150753811001778,0.018010905012488,0.048417057842016,0.036048773676157,-0.016893068328500,0.093578174710274) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.101251870393753,-0.277465641498566,0.076503284275532,0.149482578039169,-0.044302240014076,-0.492411971092224,-0.139943972229958,0.224713250994682,-0.080250911414623,-0.301819741725922,-0.067016080021858,0.046502951532602,-0.043921168893576,0.160629823803902,0.159661769866943,0.012745687738061) * MODEL10_texOff(vec2(0,0));
res += mat4(0.049205314368010,-0.241956740617752,-0.003445216454566,-0.025737421587110,0.012831519357860,0.129603087902069,0.001728941453621,-0.070957697927952,-0.041085861623287,0.267958462238312,0.004911598283798,-0.138388127088547,-0.075647898018360,-0.056782543659210,0.053987782448530,-0.146194830536842) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.015407571569085,-0.128491804003716,0.017247032374144,0.050227962434292,-0.037950307130814,-0.156150862574577,-0.072572089731693,-0.172937050461769,-0.008732910268009,0.054629035294056,0.028446519747376,0.126639679074287,0.066338539123535,0.019410623237491,0.051896151155233,0.017178740352392) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.096884690225124,-0.198767438530922,-0.042212452739477,0.058863580226898,-0.024406148120761,-0.400424212217331,-0.052735056728125,0.002250639023259,0.134068727493286,0.042216308414936,0.090950958430767,0.076112993061543,-0.019432077184319,0.103558361530304,0.100506082177162,0.008556337095797) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.013703500851989,-0.090394109487534,-0.031338501721621,-0.091031022369862,-0.028791788965464,0.028727462515235,0.047888033092022,0.029082912951708,0.031185451894999,0.033346474170685,0.058815494179726,-0.076309449970722,0.015009216964245,0.059488642960787,0.125700563192368,-0.079400330781937) * MODEL10_texOff(vec2(1,1));
res += mat4(0.044870518147945,-0.012583055533469,-0.097152240574360,-0.080894805490971,-0.005873024463654,-0.038716763257980,0.152890995144844,0.263165891170502,-0.010854934342206,0.021278548985720,-0.024995900690556,-0.084777362644672,-0.127770483493805,0.029985820874572,-0.137619689106941,-0.070334210991859) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.018862161785364,-0.024828411638737,0.191264107823372,-0.190409034490585,0.230998322367668,0.064747124910355,0.232901170849800,-0.014535068534315,0.255430787801743,-0.135474190115929,0.133406624197960,-0.013568679802120,0.173529282212257,0.042607799172401,0.283562451601028,-0.035473052412271) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.047577340155840,-0.177254468202591,-0.090806454420090,0.033542763441801,0.044447749853134,-0.002149989828467,0.198569655418396,0.052824232727289,-0.009150439873338,-0.069318532943726,-0.044766459614038,-0.086859948933125,-0.010917984880507,-0.139948651194572,0.111416131258011,0.084889546036720) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.075880743563175,-0.143857702612877,-0.004292004741728,-0.118393965065479,0.103394113481045,-0.052636679261923,-0.062772668898106,-0.052003078162670,0.119330391287804,-0.132420673966408,0.202775180339813,-0.008219727315009,0.039300624281168,-0.068136975169182,-0.110309436917305,-0.228246644139290) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.194227054715157,0.052134841680527,-0.049634423106909,0.097775056958199,-0.117973126471043,-0.009901882149279,0.146789073944092,0.255952358245850,0.086889877915382,-0.087140887975693,-0.274243891239166,0.147439196705818,-0.139324441552162,-0.310449928045273,-0.396037876605988,0.136451959609985) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.023912081494927,0.214251458644867,-0.158913731575012,0.045550771057606,0.122334264218807,0.205378398299217,-0.035994291305542,0.094640992581844,-0.010803076438606,0.055281020700932,-0.013288957998157,-0.084644623100758,-0.005658469628543,0.360281229019165,0.005978023167700,0.087193027138710) * MODEL11_texOff(vec2(0,1));
res += mat4(0.040359530597925,-0.031049396842718,-0.029741264879704,0.051832858473063,0.079823344945908,-0.118664950132370,-0.018243202939630,0.125668138265610,0.003744916059077,0.083535864949226,0.105164565145969,0.072777532041073,0.045574661344290,0.010597750544548,-0.016644738614559,0.134653329849243) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.088614568114281,0.095681913197041,-0.116140998899937,0.038466323167086,0.027521139010787,0.015320405364037,-0.024977436289191,-0.111477822065353,-0.056190662086010,-0.008067040704191,0.014461444690824,-0.087051585316658,0.386774390935898,0.073110930621624,-0.003245348110795,0.103990845382214) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.020800726488233,0.236020281910896,-0.057820517569780,-0.009369750507176,-0.060610640794039,-0.042922452092171,0.011673086322844,0.013255752623081,0.128184854984283,0.176913335919380,0.121827825903893,0.082211501896381,-0.026695210486650,-0.118033394217491,-0.078668735921383,0.038369871675968) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.011606482788920,-0.004127965308726,-0.156036749482155,-0.051571581512690,-0.012405448593199,0.126371055841446,-0.010690573602915,0.056743327528238,0.069500304758549,0.043031454086304,-0.164385676383972,-0.071971282362938,0.007113965693861,-0.014291707426310,-0.253124445676804,0.051238533109426) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.069640450179577,0.024198243394494,0.338319838047028,0.012779044918716,-0.139475837349892,0.021929491311312,0.185971036553383,0.009237917140126,0.450957298278809,0.046956073492765,0.306723445653915,-0.045326761901379,0.075598567724228,-0.123074628412724,0.107752777636051,0.180459737777710) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.047253090888262,0.129954174160957,-0.153153404593468,-0.072901226580143,-0.005396992433816,0.015413859859109,0.031328309327364,0.103166088461876,0.060188237577677,-0.057157065719366,-0.016913127154112,-0.084557272493839,0.038540661334991,0.105110950767994,0.021601853892207,-0.046135425567627) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.038604810833931,-0.126060500741005,-0.022862253710628,0.054711356759071,0.028959922492504,0.109801910817623,-0.196998283267021,-0.020550306886435,0.069371215999126,-0.024384945631027,0.025706263259053,-0.052643910050392,-0.076991632580757,0.022313758730888,-0.186385244131088,-0.086540579795837) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.067902453243732,-0.160931512713432,-0.103646241128445,0.032646879553795,-0.120280370116234,-0.008877993561327,-0.101842969655991,0.059402618557215,-0.045840360224247,-0.211705222725868,0.430618077516556,-0.080989465117455,0.210089072585106,-0.072385363280773,-0.048220410943031,0.088496655225754) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.081233605742455,0.215802758932114,-0.192476585507393,-0.019626351073384,0.038202639669180,0.038977526128292,0.072364993393421,-0.007019541691989,-0.111911773681641,-0.042016666382551,-0.036619506776333,-0.068477049469948,0.212834089994431,-0.090873666107655,0.088102728128433,-0.025381799787283) * MODEL12_texOff(vec2(0,1));
res += mat4(0.026995074003935,0.052274409681559,0.058932788670063,0.010059756226838,0.110998556017876,-0.002522335620597,-0.124575547873974,0.119659543037415,-0.082962006330490,-0.147248908877373,-0.022293537855148,-0.019459061324596,0.017422167584300,-0.078619495034218,0.063557125627995,0.071835294365883) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.133456870913506,-0.122231326997280,-0.056462366133928,0.081315703690052,0.093373164534569,0.024127701297402,0.031749095767736,0.046804886311293,-0.107545726001263,-0.022994408383965,-0.071464598178864,0.172831997275352,0.021114008501172,0.059394795447588,-0.168291389942169,0.087169431149960) * MODEL12_texOff(vec2(1,0));
res += mat4(0.027119023725390,0.166578799486160,-0.063507281243801,0.048341318964958,0.008795406669378,-0.117266274988651,-0.044866103678942,0.005876815877855,0.012893965467811,0.154294133186340,-0.148564845323563,0.049680452793837,-0.058705389499664,-0.193941324949265,-0.001722774468362,-0.009164500050247) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.826459407806396,-0.149147078394890,0.004766795318574,-0.107611231505871) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 5_5

vec4 hook()
{
vec4 res = vec4(0.040445178747177,0.075274445116520,-0.074571289122105,-0.124291986227036);
res += mat4(0.055505689233541,0.033611051738262,-0.050955977290869,-0.060539461672306,-0.019509771838784,0.087337858974934,-0.144364446401596,0.092905476689339,-0.004887088667601,0.002674846909940,-0.017107570543885,-0.078564956784248,0.094156168401241,-0.125554054975510,-0.105106323957443,-0.041723810136318) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.026296725496650,-0.071385391056538,0.023466713726521,0.016660455614328,0.071878597140312,-0.044194497168064,0.246143266558647,-0.093656219542027,0.014230516739190,0.062457017600536,-0.039953615516424,-0.057681970298290,-0.022003788501024,-0.076774090528488,0.103371389210224,-0.035588998347521) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.090343907475471,-0.037737037986517,0.026909021660686,0.073299527168274,-0.045927971601486,-0.074815824627876,-0.009732827544212,0.172760963439941,-0.061627864837646,0.036015279591084,0.117593273520470,-0.033253271132708,-0.025617295876145,-0.064377292990685,0.094622075557709,0.018081178888679) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.055748548358679,-0.023904047906399,0.112467773258686,-0.118610717356205,0.066127821803093,0.020665323361754,-0.110431984066963,0.036018814891577,-0.013632917776704,0.022004423663020,-0.023578239604831,0.108670622110367,0.021853826940060,-0.104457333683968,0.012034045532346,0.094496592879295) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.187452167272568,0.121411032974720,-0.102420851588249,-0.034098513424397,-0.020461194217205,-0.030857348814607,0.233640745282173,0.165199175477028,0.260652929544449,0.113445699214935,0.108215689659119,-0.056595370173454,-0.090074099600315,-0.199185222387314,0.003251417307183,0.210783004760742) * MODEL7_texOff(vec2(0,0));
res += mat4(0.135133877396584,0.070061057806015,-0.010600459761918,-0.030431853607297,-0.063547544181347,-0.119468443095684,0.065693832933903,0.053831629455090,-0.138439700007439,0.077973969280720,-0.089316084980965,-0.074675984680653,0.226566955447197,0.148843690752983,-0.087364859879017,-0.336731880903244) * MODEL7_texOff(vec2(0,1));
res += mat4(0.037676651030779,0.040412619709969,0.153839066624641,0.021727379411459,0.004461170174181,0.031205937266350,-0.035690914839506,0.160781070590019,-0.108015425503254,-0.045998346060514,-0.017382279038429,0.013746820390224,0.049684837460518,0.159356877207756,-0.058295864611864,0.071789339184761) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.175344079732895,0.094593726098537,-0.096687093377113,-0.076033800840378,0.102689057588577,-0.037081230431795,0.182043686509132,0.058386079967022,0.008521907031536,-0.086173705756664,0.087031222879887,0.107660479843616,-0.107344754040241,-0.210341930389404,-0.004921521525830,-0.039593435823917) * MODEL7_texOff(vec2(1,0));
res += mat4(0.127303764224052,-0.031467724591494,-0.163085684180260,0.019670123234391,-0.104068040847778,-0.022155793383718,0.291670978069305,-0.009341775439680,-0.136564716696739,-0.030194334685802,-0.018198512494564,0.073370166122913,-0.110666617751122,-0.015358385629952,0.079200297594070,0.117108158767223) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.026390939950943,-0.010456543415785,-0.070949010550976,-0.016753116622567,0.137025699019432,-0.022437011823058,0.005420587956905,-0.079283937811852,0.079258754849434,-0.037519194185734,0.101690247654915,-0.065414801239967,-0.032884400337934,-0.001811157446355,-0.010901032947004,-0.044278919696808) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.017426945269108,0.077227465808392,-0.034990835934877,-0.133592978119850,0.276670724153519,0.011628575623035,0.151993930339813,-0.028307430446148,0.024841660633683,-0.041427284479141,0.009968711063266,-0.138719260692596,0.036262586712837,0.041912913322449,0.081178590655327,-0.045874103903770) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.049742452800274,0.086361221969128,-0.026804080232978,-0.222680181264877,0.116834096610546,0.025148328393698,-0.012550584040582,0.008130921982229,0.104661405086517,-0.085926882922649,-0.107077151536942,-0.000539472734090,0.046068485826254,-0.025355147197843,0.042597260326147,-0.032317407429218) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.060260184109211,0.038838017731905,-0.040738932788372,-0.005416321102530,0.159483477473259,0.015028693713248,-0.016128869727254,-0.069391734898090,0.126982018351555,0.190115079283714,-0.250995188951492,-0.040815562009811,-0.089196458458900,-0.128749519586563,0.090183719992638,0.124696820974350) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.073380768299103,0.110722318291664,0.079468481242657,-0.268469572067261,0.176208734512329,0.038646113127470,0.229243949055672,-0.262199729681015,-0.127415761351585,0.051153227686882,0.075365446507931,-0.310786485671997,0.126589491963387,-0.117452047765255,0.060379412025213,0.223466157913208) * MODEL8_texOff(vec2(0,0));
res += mat4(0.171841636300087,0.057440422475338,-0.034635189920664,-0.083746835589409,-0.031096877530217,0.111492425203323,-0.197672992944717,0.088312752544880,-0.047550376504660,-0.092715822160244,0.025478916242719,-0.069661177694798,0.072802402079105,0.169888675212860,-0.194086477160454,-0.015814628452063) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.040498908609152,-0.017824798822403,0.023418590426445,0.031259704381227,-0.037989385426044,0.036488849669695,0.018777534365654,0.052249770611525,-0.186421707272530,0.036483291536570,0.057203311473131,-0.150170236825943,0.032045144587755,-0.059203319251537,0.024502735584974,0.033821113407612) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.076956890523434,-0.068792849779129,-0.054837431758642,-0.020169636234641,-0.033178005367517,0.081723965704441,-0.029964221641421,0.044576320797205,0.020031372085214,0.050514172762632,0.147310689091682,-0.036248434334993,-0.017845224589109,0.106279216706753,0.003180578351021,0.003462688298896) * MODEL8_texOff(vec2(1,0));
res += mat4(0.002101506805047,0.038091644644737,0.037712957710028,-0.030697764828801,-0.166248083114624,0.069144494831562,0.000764890981372,0.043931283056736,0.019685909152031,-0.091380052268505,0.270043522119522,-0.194254890084267,0.022084433585405,0.010986159555614,0.027689980342984,-0.079379536211491) * MODEL8_texOff(vec2(1,1));
res += mat4(0.049300786107779,-0.014771748334169,-0.045184370130301,-0.034919090569019,0.104630634188652,0.131784826517105,-0.093183815479279,-0.051588535308838,-0.032296121120453,-0.011726849712431,-0.059033866971731,-0.200760528445244,0.051483873277903,-0.000253625476034,0.058007843792439,-0.062052778899670) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.084256947040558,-0.044191587716341,-0.074860893189907,-0.043686129152775,-0.047614566981792,-0.067641824483871,-0.022705456241965,0.057365529239178,-0.115376889705658,-0.181652247905731,-0.012381657026708,0.029082952067256,-0.089093632996082,0.107464782893658,0.150356575846672,-0.275213003158569) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.033415008336306,0.008915195241570,0.127345934510231,-0.018377713859081,-0.048659097403288,0.004999451339245,0.055306613445282,-0.046831108629704,0.155302435159683,0.029610700905323,0.051258083432913,-0.079285211861134,0.053706578910351,0.083429522812366,-0.149209991097450,-0.120434500277042) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.012399721890688,0.080294162034988,-0.062909610569477,0.030317666009068,-0.026299394667149,0.106400705873966,-0.091548129916191,-0.063144974410534,-0.258437186479568,-0.241657197475433,0.109922818839550,-0.011515786871314,-0.062199745327234,0.119153402745724,-0.010633383877575,-0.059192772954702) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.058541961014271,0.143431618809700,-0.097675047814846,-0.039316482841969,0.056895498186350,0.151149958372116,0.149295404553413,0.156316697597504,0.029099870473146,-0.020557517185807,-0.282577425241470,0.185633033514023,-0.226766347885132,-0.525405049324036,0.403904885053635,0.428280144929886) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.222095653414726,-0.025479752570391,-0.097523987293243,-0.096948496997356,0.024767324328423,0.126266583800316,0.025280443951488,0.150847867131233,-0.059549923986197,0.139864504337311,-0.054330751299858,-0.019684048369527,0.284021973609924,0.542160511016846,-0.317347049713135,-0.053551651537418) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.036781456321478,0.080687329173088,-0.004664687439799,-0.065624989569187,0.000488326011691,0.018391847610474,-0.025171948596835,-0.062790542840958,0.186847656965256,-0.126157075166702,0.206747129559517,0.005758544430137,-0.000467407633550,-0.007326907012612,-0.056643433868885,0.037487994879484) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.169775277376175,0.062326364219189,0.050075367093086,-0.001690803910606,0.048707023262978,0.163479596376419,0.104485332965851,-0.152803733944893,0.058282554149628,0.067880742251873,-0.176560521125793,-0.021078994497657,0.295742481946945,-0.133312374353409,0.346701234579086,-0.028811704367399) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.010944138281047,-0.098866052925587,-0.091082587838173,-0.036770161241293,-0.133091762661934,0.134818330407143,-0.028674732893705,0.026649290695786,-0.056917097419500,0.080753020942211,-0.055043295025826,0.057167124003172,-0.264774054288864,0.226598292589188,-0.302634835243225,-0.076194852590561) * MODEL9_texOff(vec2(1,1));
res += mat4(0.014488140121102,-0.004758854862303,0.066932432353497,-0.031858060508966,0.072121448814869,-0.020959131419659,0.122145861387253,-0.039340689778328,0.050291098654270,0.007487122435123,-0.076591446995735,-0.110793262720108,0.022782631218433,0.007207892369479,-0.024920957162976,0.063898414373398) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.029410097748041,0.040189780294895,0.033008623868227,-0.045055709779263,0.032046943902969,-0.132601827383041,-0.048835940659046,-0.165231183171272,-0.129317343235016,0.073050975799561,0.013395900838077,-0.216744214296341,-0.031479422003031,0.028532497584820,0.077631451189518,-0.061816174536943) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.037209257483482,0.077811941504478,-0.019459491595626,-0.014755799435079,0.096004620194435,-0.069234766066074,-0.048978198319674,0.024859160184860,-0.081251487135887,0.043602094054222,-0.000648439279757,-0.007719403132796,-0.025295190513134,-0.020102180540562,-0.087609432637691,-0.044081788510084) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.070788145065308,0.034097533673048,0.134427547454834,0.025861211121082,0.209083586931229,0.109026104211807,-0.045742794871330,0.175854876637459,-0.128564745187759,0.059089887887239,0.040622841566801,-0.032908745110035,-0.002112841699272,-0.002076367149130,-0.025269182398915,0.050629518926144) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.275503933429718,0.294082045555115,-0.144903928041458,0.068823419511318,-0.058688867837191,0.149178236722946,-0.098525799810886,0.156989246606827,0.112638995051384,0.071074217557907,-0.227479577064514,0.166459888219833,0.038433603942394,-0.045038282871246,0.002463840181008,0.008685977198184) * MODEL10_texOff(vec2(0,0));
res += mat4(0.202828049659729,0.150806233286858,-0.150325879454613,0.089734189212322,-0.039511945098639,-0.028247417882085,0.076708048582077,0.038808532059193,-0.046218171715736,0.004242123104632,0.185154870152473,-0.030369959771633,-0.093812875449657,-0.057527028024197,-0.027770863845944,0.121627554297447) * MODEL10_texOff(vec2(0,1));
res += mat4(0.110331043601036,0.087854295969009,0.030658911913633,0.094134896993637,-0.096411444246769,0.026127396151423,-0.136379182338715,-0.065394930541515,-0.062890224158764,0.052921012043953,0.155588001012802,-0.091392472386360,-0.107064239680767,0.034227084368467,-0.032539036124945,0.025168336927891) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.202976450324059,0.093345768749714,-0.169557213783264,-0.133247330784798,0.001530154026113,0.059943761676550,-0.454124689102173,0.098110683262348,-0.170703351497650,0.227703601121902,-0.281134784221649,-0.001017242902890,-0.062252882868052,0.059166993945837,0.018912680447102,0.049320369958878) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.155416682362556,0.080353632569313,-0.192577242851257,0.028867004439235,0.020842144265771,-0.016524093225598,0.034008044749498,-0.011488307267427,0.005014317575842,0.110823079943657,-0.104659043252468,0.027000535279512,-0.025754284113646,-0.016682365909219,-0.106410905718803,0.029628502205014) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.012740484438837,-0.045011412352324,-0.017130998894572,-0.082519553601742,0.091069959104061,0.108876712620258,0.003756694495678,-0.103652626276016,0.013783691450953,-0.040808212012053,0.021258372813463,0.001697029219940,0.032284155488014,-0.032070387154818,-0.073129788041115,-0.154106244444847) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.223801478743553,-0.131542369723320,0.075125783681870,0.026218956336379,-0.054676067084074,0.165127858519554,0.106681108474731,-0.278544187545776,-0.146545872092247,-0.249601081013680,0.126068547368050,0.018715461716056,-0.006367193069309,-0.217994317412376,0.060980468988419,0.009060692042112) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.075156420469284,-0.016023755073547,-0.084872536361217,0.002419187687337,0.049773409962654,0.035100314766169,-0.244189158082008,0.064567036926746,0.055236317217350,-0.091563224792480,-0.167865112423897,0.077590018510818,-0.067361459136009,-0.072678416967392,-0.118155062198639,-0.015108521096408) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.035891339182854,-0.025122167542577,-0.017192816361785,-0.096211530268192,-0.164029225707054,0.026799615472555,-0.097057431936264,0.085567988455296,-0.174891337752342,-0.046775016933680,0.084347546100616,0.073385246098042,-0.157021388411522,-0.073412969708443,0.017593743279576,0.230183482170105) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.076558090746403,0.086284212768078,-0.164412483572960,-0.063083156943321,0.014657508581877,0.059637364000082,0.218948230147362,-0.013084845617414,0.127356976270676,0.114037774503231,-0.230892777442932,0.094342269003391,0.421048998832703,0.291964173316956,-0.283896982669830,-0.137694031000137) * MODEL11_texOff(vec2(0,0));
res += mat4(0.108498364686966,-0.073387704789639,-0.082230798900127,0.060691647231579,-0.233662709593773,0.044801697134972,-0.042723152786493,-0.097585402429104,-0.193303972482681,-0.175290480256081,-0.011107138358057,-0.105300694704056,-0.003719188738614,-0.132358759641647,0.315484076738358,0.050351679325104) * MODEL11_texOff(vec2(0,1));
res += mat4(0.065689928829670,-0.013341045938432,0.207656472921371,0.013646049425006,-0.023913143202662,0.127820402383804,0.044090945273638,0.058960579335690,0.134316876530647,0.054349686950445,0.123605966567993,0.114799052476883,-0.081589743494987,-0.063064031302929,-0.066533587872982,-0.122707337141037) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.208648338913918,-0.169526934623718,-0.233020499348640,0.022913802415133,0.160108193755150,0.095721833407879,-0.075037404894829,-0.170815914869308,0.028381925076246,-0.097462423145771,-0.160723477602005,-0.177576273679733,-0.303452789783478,-0.223369091749191,-0.387712866067886,0.125046610832214) * MODEL11_texOff(vec2(1,0));
res += mat4(0.003126308089122,-0.068978764116764,0.239879697561264,0.075829267501831,0.143761843442917,0.129209041595459,-0.141158476471901,0.040967285633087,0.085308037698269,0.025464389473200,0.119208529591560,-0.114056140184402,0.165522545576096,0.155478850007057,0.266911119222641,-0.288168072700500) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.066249184310436,-0.020184477791190,0.039483796805143,0.051552142947912,0.077486000955105,-0.000106337269244,0.100822523236275,-0.072044484317303,-0.000840947614051,-0.018434485420585,0.014268580824137,0.056410897523165,0.012101043015718,-0.009801115840673,-0.104598604142666,-0.067788593471050) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.046420197933912,-0.051558848470449,0.082642301917076,0.215900614857674,-0.094367548823357,0.071033373475075,0.006510341074318,0.060028634965420,-0.059679057449102,-0.217574089765549,0.124194040894508,0.156894624233246,0.044652741402388,-0.064448885619640,-0.025474106892943,0.022514093667269) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.058185514062643,0.008880794048309,-0.080522365868092,0.085488744080067,0.091493986546993,0.035798870027065,-0.049691304564476,0.010043100453913,0.078028194606304,-0.061198037117720,-0.029060753062367,0.064874894917011,-0.194803357124329,-0.107441484928131,0.016505790874362,-0.105029083788395) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.077315635979176,-0.131614595651627,0.100817970931530,-0.032871030271053,-0.056774128228426,0.002823715098202,0.139689952135086,0.203588172793388,-0.010989918373525,-0.031413253396749,0.058680467307568,0.058581922203302,-0.004272645339370,-0.016545725986362,0.038648959249258,-0.025297017768025) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.022757291793823,-0.010490326210856,-0.126111641526222,0.121624298393726,-0.018636880442500,-0.072903834283352,-0.082937285304070,0.301463454961777,0.278382003307343,0.464530646800995,-0.065152175724506,-0.364745706319809,0.135924488306046,0.244422972202301,-0.083704285323620,-0.060779888182878) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.252339869737625,-0.070910044014454,0.016730798408389,0.078579790890217,0.005872251931578,0.098522178828716,-0.101204678416252,0.069566562771797,-0.216452434659004,-0.279923200607300,-0.051031757146120,0.252217888832092,0.096714407205582,0.200809180736542,-0.132983580231667,-0.150541648268700) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.023880744352937,-0.018460776656866,0.036988843232393,0.051960200071335,0.123307511210442,-0.024696419015527,0.023604227229953,0.042406942695379,-0.087105669081211,-0.008094896562397,0.035995427519083,-0.012604411691427,-0.135490000247955,-0.055292349308729,0.023917542770505,0.011097645387053) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.052490286529064,-0.064591124653816,-0.170392498373985,-0.005958560854197,-0.094178192317486,0.021217567846179,0.108704902231693,0.073199890553951,-0.151362791657448,0.250048190355301,-0.036076068878174,-0.149232700467110,-0.078005366027355,-0.126154094934464,0.006733560003340,0.013292632065713) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.272805899381638,0.033987157046795,-0.057196885347366,-0.030137252062559,-0.140808388590813,-0.006613178178668,-0.055747509002686,0.050534643232822,-0.198417916893959,-0.181916102766991,-0.104504548013210,0.171182483434677,-0.062374275177717,-0.003633118700236,-0.218390733003616,0.123877346515656) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.106976255774498,0.843415796756744,-0.223757266998291,0.717697024345398) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 5_6

vec4 hook()
{
vec4 res = vec4(-0.033068582415581,0.048744712024927,-0.190724998712540,0.018132740631700);
res += mat4(0.004373987205327,0.030034611001611,-0.055589389055967,-0.009412176907063,-0.124483987689018,0.049005128443241,-0.090170256793499,-0.087053939700127,-0.099477969110012,0.046816188842058,0.056518990546465,-0.020744917914271,-0.048715982586145,0.051910817623138,0.131680831313133,0.120286740362644) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.167122796177864,0.035179540514946,-0.017967866733670,0.037176229059696,0.049773029983044,-0.156829178333282,0.065539255738258,0.027029637247324,-0.318372964859009,-0.059313278645277,0.062099378556013,0.354413390159607,-0.121122308075428,0.022406632080674,-0.121175229549408,-0.107104979455471) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.158606216311455,0.026250971481204,0.169061124324799,-0.008507881313562,-0.035565979778767,0.247685760259628,-0.149714753031731,-0.169240087270737,-0.424626171588898,-0.033512193709612,0.008981092832983,0.188896223902702,0.115358158946037,-0.011830401606858,0.173441648483276,0.125894501805305) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.120236992835999,-0.152496948838234,-0.046379856765270,0.025807829573750,0.119788110256195,-0.051751390099525,0.015854811295867,-0.048504520207644,0.175782114267349,-0.073967754840851,0.071190878748894,-0.043117240071297,-0.048086252063513,-0.179130718111992,0.061620086431503,0.040502082556486) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.196013912558556,-0.118878789246082,-0.025287408381701,-0.156315654516220,-0.143041521310806,-0.103250324726105,-0.065739780664444,0.103336602449417,0.094357743859291,0.033662721514702,0.036241024732590,0.070547081530094,0.096392847597599,0.036168515682220,-0.126856595277786,-0.001205381820910) * MODEL7_texOff(vec2(0,0));
res += mat4(0.174918264150620,0.172528848052025,0.027264585718513,-0.004512690473348,0.033613692969084,0.298518747091293,-0.004281189758331,-0.005512274801731,0.022581430152059,-0.129249036312103,0.068343624472618,-0.006589541211724,0.004071064759046,0.052264187484980,-0.009341610595584,-0.164197757840157) * MODEL7_texOff(vec2(0,1));
res += mat4(0.025719050318003,-0.032264932990074,-0.017711030319333,-0.022283084690571,0.009775276295841,-0.066512569785118,0.009798879735172,0.039149556308985,0.031191941350698,0.012072811834514,-0.017984287813306,-0.001453418051824,-0.021626137197018,0.027572313323617,0.068943120539188,-0.053681056946516) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.047976288944483,-0.176918148994446,0.191595494747162,-0.135650902986526,-0.029161939397454,-0.079504005610943,0.010135744698346,0.053834401071072,0.020770877599716,0.064687907695770,-0.007147708442062,-0.102650433778763,-0.071390278637409,-0.038425631821156,-0.055027920752764,0.004417951218784) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.070820465683937,-0.030354600399733,0.011457502841949,-0.018572745844722,-0.096080474555492,0.146773755550385,-0.065317586064339,0.011559934355319,-0.086093626916409,0.010171598754823,-0.035834185779095,-0.082514099776745,-0.132549822330475,0.205731227993965,-0.009357294067740,-0.021800916641951) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.016635285690427,0.162722930312157,-0.027042344212532,-0.034301590174437,-0.071980282664299,0.077928349375725,-0.022121880203485,-0.013945365324616,-0.030838139355183,0.072705537080765,-0.115078203380108,0.094354048371315,0.109437420964241,0.022274550050497,-0.013626469299197,-0.205211073160172) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.063099980354309,0.265107452869415,0.136658295989037,-0.055308312177658,-0.201818019151688,0.028370497748256,0.139146894216537,0.075665995478630,-0.119469352066517,-0.211742043495178,0.268702149391174,-0.047328997403383,0.039261668920517,-0.065753459930420,0.186921313405037,-0.137500405311584) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.145657554268837,0.309985607862473,0.068395473062992,-0.099533379077911,-0.055502660572529,-0.079463899135590,0.173834428191185,-0.013485500589013,-0.040909405797720,-0.134054198861122,-0.218745186924934,-0.028835078701377,0.074957117438316,0.039291232824326,0.296557605266571,-0.005876849405468) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.015523883514106,0.058079767972231,0.032475423067808,-0.018882401287556,0.014325902797282,0.076497592031956,0.041604258120060,-0.033640120178461,-0.000584636174608,0.144784748554230,0.024453505873680,-0.082433283329010,0.072903290390968,-0.067545294761658,-0.141707494854927,0.076213024556637) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.030477030202746,0.218842297792435,0.006630592513829,-0.138324797153473,0.089953824877739,0.071471206843853,-0.005401633214206,-0.037621714174747,0.002757543232292,-0.217235535383224,0.096853263676167,0.063499949872494,0.209120616316795,0.000278479827102,-0.106568351387978,0.191922396421432) * MODEL8_texOff(vec2(0,0));
res += mat4(0.038028240203857,0.121952161192894,0.204077318310738,-0.026346050202847,-0.247170060873032,-0.105941794812679,0.214403778314590,0.113008387386799,-0.061771366745234,-0.000445995974587,-0.070002630352974,0.105437271296978,0.109205633401871,0.033379837870598,0.042392399162054,-0.036649685353041) * MODEL8_texOff(vec2(0,1));
res += mat4(0.028392065316439,0.038381073623896,0.010671347379684,0.005713026039302,0.051576219499111,-0.168282374739647,0.028010876849294,-0.002357696183026,0.058905616402626,0.081228911876678,-0.006185482721776,0.052000191062689,-0.043734610080719,0.098020903766155,-0.128498032689095,0.060848180204630) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.075973831117153,0.012894109822810,0.042205169796944,-0.072187222540379,0.241547033190727,-0.070114485919476,0.037394016981125,0.070138551294804,0.106926783919334,0.193225339055061,-0.060645084828138,-0.012202126905322,-0.160730913281441,0.299862593412399,-0.248150497674942,0.137322947382927) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.001818943535909,0.118796564638615,-0.037169974297285,0.003482340369374,-0.077992103993893,0.031306304037571,0.099991708993912,0.079737201333046,0.162129983305931,-0.037122745066881,0.043436605483294,-0.061628535389900,-0.176371783018112,0.025357767939568,-0.093900240957737,0.027928596362472) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.052343100309372,-0.148009493947029,-0.112782165408134,-0.036090563982725,-0.006642148829997,-0.164553970098495,0.065369054675102,-0.010931132361293,0.101288266479969,-0.161634057760239,-0.005657872185111,-0.076365113258362,0.008268929086626,-0.064590409398079,-0.004899044055492,-0.201384916901588) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.065080776810646,-0.260614663362503,0.228943556547165,-0.243124842643738,-0.094365268945694,-0.168021664023399,-0.005933355074376,0.197278842329979,0.104330100119114,0.026467867195606,0.122302077710629,-0.158296793699265,0.169649839401245,-0.290061950683594,0.232195183634758,-0.630559861660004) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.045130431652069,-0.265515446662903,0.310832709074020,0.082593120634556,0.001772474963218,0.029919585213065,-0.264169722795486,0.069360516965389,0.156855374574661,0.157823175191879,-0.001903765019961,-0.063514508306980,0.243039131164551,-0.034500621259212,0.451469928026199,-0.202974811196327) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.031563073396683,-0.244143605232239,-0.002174861030653,-0.019660212099552,0.185742139816284,-0.133068144321442,-0.001947292941622,0.002104565501213,-0.138478472828865,-0.170392706990242,-0.013456955552101,0.138848155736923,0.040677875280380,0.093387730419636,-0.058730851858854,0.113951466977596) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.111234687268734,-0.283308982849121,0.075003974139690,0.172415435314178,-0.022986929863691,0.077001750469208,-0.092558078467846,0.104982264339924,-0.181753337383270,-0.022358208894730,-0.168946042656898,0.402682632207870,-0.313347816467285,-0.305652529001236,-0.055118188261986,0.329986184835434) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.203920617699623,-0.256277710199356,-0.018832631409168,-0.061723724007607,-0.002665916923434,0.084704607725143,-0.138905301690102,-0.057802002876997,-0.190459638834000,0.148739591240883,-0.163313567638397,0.206851661205292,-0.236712232232094,0.193138003349304,0.046191621571779,0.062753096222878) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.075452119112015,-0.079110547900200,-0.090706340968609,0.019900182262063,-0.042259532958269,0.110310599207878,0.024377299472690,-0.051321383565664,-0.029341116547585,-0.086030915379524,0.018928108736873,0.045552421361208,0.049476709216833,-0.041280828416348,-0.046717826277018,0.066868446767330) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.119920253753662,-0.118915766477585,-0.086850576102734,0.004591708537191,-0.018556265160441,0.100120387971401,0.070012494921684,0.023039849475026,0.090899072587490,0.184772744774818,-0.099156051874161,-0.111301988363266,0.154319897294044,-0.194005548954010,-0.010909328237176,0.179237052798271) * MODEL9_texOff(vec2(1,0));
res += mat4(0.090111404657364,0.055666726082563,-0.015634857118130,-0.008765961974859,-0.022213555872440,0.129464447498322,0.044389188289642,0.066879101097584,0.133269309997559,0.136738955974579,-0.089206561446190,-0.003061047522351,0.023246273398399,-0.033683389425278,0.072441682219505,0.010170743800700) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.015169748105109,-0.073809459805489,0.139435544610023,-0.009895773604512,-0.060201432555914,0.030350958928466,-0.074757136404514,-0.063471771776676,0.089737989008427,0.241177484393120,-0.006352051626891,-0.057457856833935,-0.073692403733730,0.095020733773708,-0.181314587593079,0.033398892730474) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.069037623703480,-0.086970761418343,-0.002526045311242,0.062491994351149,0.017330121248960,-0.067942783236504,0.274278759956360,0.005416788626462,-0.079927667975426,0.030926898121834,0.030845910310745,0.132111266255379,-0.045696225017309,0.018821870908141,-0.049870248883963,0.018942784518003) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.092993587255478,0.065875262022018,0.044697325676680,0.104003295302391,-0.068673521280289,-0.062403127551079,-0.097034499049187,-0.027577500790358,-0.050997391343117,0.292874157428741,0.005572541151196,0.053975176066160,-0.032232012599707,0.121759377419949,-0.012174263596535,0.003354331478477) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.066276580095291,-0.155260607600212,0.075546786189079,0.008865526877344,0.168984889984131,-0.006084840744734,-0.037841454148293,0.038568992167711,-0.023162230849266,0.031556628644466,-0.040655139833689,-0.020091123878956,0.076992884278297,0.069418482482433,-0.267327308654785,-0.026626173406839) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.089433409273624,0.050819594413042,-0.063766561448574,-0.004652577452362,0.123849034309387,-0.021901248022914,-0.014119503088295,-0.135268434882164,0.131136760115623,0.146452859044075,-0.081128813326359,-0.225475177168846,0.108264639973640,0.028503658249974,-0.149445146322250,-0.004819456487894) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.105893090367317,0.181728780269623,0.017721703276038,-0.145989164710045,0.042522709816694,0.067561775445938,-0.005076224915683,0.003785483771935,-0.014801901765168,-0.131492301821709,0.041217058897018,-0.067589901387691,0.086299173533916,0.203541085124016,-0.132848247885704,-0.030270133167505) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.005893093533814,-0.174920961260796,-0.089217334985733,0.025744359940290,-0.022416653111577,0.092242784798145,-0.049214124679565,-0.120884060859680,-0.042219460010529,-0.018429109826684,-0.089480623602867,0.085867278277874,-0.024297760799527,0.106805697083473,-0.205859556794167,-0.027551406994462) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.133330836892128,-0.086478158831596,-0.017658915370703,-0.083130985498428,-0.023505767807364,0.104805268347263,-0.110617384314537,-0.086591660976410,-0.217556774616241,0.141464829444885,-0.041158102452755,-0.017849653959274,0.001019967603497,0.014800706878304,-0.113517791032791,0.017307771369815) * MODEL10_texOff(vec2(1,0));
res += mat4(0.136287420988083,-0.023754453286529,0.108757160604000,0.031258150935173,0.046208370476961,-0.008797165006399,-0.035234309732914,0.086891144514084,-0.026776300743222,0.152944847941399,-0.049366205930710,0.062291081994772,0.053066920489073,0.133291065692902,-0.152994960546494,0.021007115021348) * MODEL10_texOff(vec2(1,1));
res += mat4(0.090180508792400,0.008571675978601,-0.009122753515840,0.029398458078504,-0.112720288336277,0.070560149848461,0.047447990626097,-0.032284192740917,0.033304490149021,0.039026856422424,0.019455745816231,0.007152503356338,0.112803421914577,0.054294489324093,0.034381747245789,-0.113161772489548) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.126039147377014,0.049947146326303,-0.077226758003235,0.058640304952860,-0.181658059358597,-0.125424847006798,-0.096107140183449,0.059831876307726,0.158815532922745,-0.115554422140121,0.022459546104074,0.096723400056362,0.057640440762043,0.014080266468227,0.081998758018017,0.333404511213303) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.120509974658489,0.146401450037956,-0.046737853437662,0.043975740671158,-0.265086650848389,0.086058989167213,-0.132976204156876,-0.022261917591095,0.006528442725539,-0.244874924421310,-0.190195724368095,-0.133028745651245,-0.061470534652472,-0.133406519889832,-0.327939122915268,0.064571291208267) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.055651083588600,-0.170073390007019,0.034473016858101,-0.122293300926685,0.235185936093330,-0.104673691093922,0.111168913543224,0.095059424638748,-0.315109699964523,0.042781330645084,-0.090534068644047,0.113081663846970,-0.058315519243479,0.059644196182489,0.085349500179291,-0.013530472293496) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.184187844395638,0.025943880900741,-0.097903214395046,-0.195929691195488,0.222071692347527,-0.042395569384098,-0.037573143839836,-0.035902157425880,-0.193720608949661,0.000984076876193,0.012942830100656,-0.182552337646484,0.262712270021439,-0.030652994289994,0.200364470481873,-0.377942800521851) * MODEL11_texOff(vec2(0,0));
res += mat4(0.367419272661209,-0.237423121929169,-0.062061443924904,-0.198247492313385,-0.052544876933098,0.099564559757710,0.000035133289202,-0.034310810267925,0.064307458698750,-0.113501653075218,0.102571815252304,0.024005800485611,0.173662647604942,-0.000479287933558,0.179458782076836,0.041154008358717) * MODEL11_texOff(vec2(0,1));
res += mat4(0.021282404661179,0.012209612876177,0.069451086223125,0.014192865230143,-0.128350153565407,-0.090629540383816,-0.050804466009140,-0.032120659947395,-0.004984878003597,0.093672275543213,-0.229162022471428,0.087114378809929,-0.092868372797966,0.074052259325981,0.047374788671732,0.068959653377533) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.020959598943591,-0.167456343770027,0.042642086744308,-0.061173427850008,0.084262050688267,-0.070104315876961,-0.058763600885868,-0.022997962310910,0.068135082721710,-0.041924785822630,-0.174188882112503,-0.021283231675625,-0.228394433856010,0.052158929407597,0.009650642983615,0.026783913373947) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.051675625145435,-0.070711351931095,0.121009096503258,-0.129073470830917,0.042922068387270,-0.018489571288228,0.049391102045774,-0.010227516293526,-0.015410464257002,0.184195503592491,-0.090395145118237,0.046949464827776,-0.223757475614548,-0.037415899336338,0.045977246016264,-0.036157518625259) * MODEL11_texOff(vec2(1,1));
res += mat4(0.078220374882221,-0.217501118779182,0.009032775647938,-0.030213756486773,0.016440518200397,-0.029329271987081,0.007115193642676,0.023074613884091,-0.011554257012904,-0.004486957099289,0.120720423758030,-0.019404463469982,-0.011788940057158,-0.165311455726624,-0.059171430766582,-0.007879577577114) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.304857879877090,-0.227277249097824,0.174859642982483,0.095076180994511,-0.043064292520285,0.151420354843140,-0.125782847404480,-0.088253907859325,-0.016833029687405,0.016292907297611,-0.043649330735207,0.152269750833511,-0.087085619568825,0.002692210488021,-0.086250774562359,0.196690753102303) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.098271764814854,-0.242945924401283,0.355078637599945,-0.090267151594162,0.044651564210653,0.080387368798256,0.099982619285583,-0.039102174341679,-0.024678347632289,0.083994217216969,-0.154332280158997,-0.000064771265897,-0.280139744281769,-0.254350095987320,0.089205577969551,0.011705338023603) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.044431839138269,0.055929157882929,0.148880660533905,-0.080651648342609,0.141329407691956,0.099114842712879,-0.114900633692741,0.237527146935463,-0.110616706311703,-0.048672009259462,0.083374887704849,-0.023951603099704,-0.092843130230904,0.043126475065947,-0.000852044497151,-0.092786796391010) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.206661447882652,0.078132495284081,0.104670494794846,-0.071388542652130,0.122807279229164,0.315524339675903,-0.066612474620342,0.287553668022156,0.064996831119061,0.084553204476833,0.019268656149507,0.007167157251388,-0.252310454845428,0.025629010051489,0.126301810145378,0.293919473886490) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.096085876226425,-0.188756838440895,-0.022746957838535,0.018615240231156,0.125412285327911,0.028619429096580,-0.113977678120136,0.133797973394394,0.046758703887463,0.098730668425560,-0.076251961290836,-0.083985462784767,-0.203512772917747,-0.160871207714081,-0.068241223692894,-0.049796607345343) * MODEL12_texOff(vec2(0,1));
res += mat4(0.009329798631370,0.053180553019047,0.042471297085285,0.018304610624909,-0.027316523715854,-0.000164880009834,-0.125789880752563,-0.005938673391938,0.131350025534630,-0.146533027291298,0.063980773091316,0.034641738981009,-0.041211776435375,-0.024256523698568,0.022667702287436,0.043146286159754) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.187659531831741,0.037345230579376,0.072042353451252,-0.082440786063671,-0.126544237136841,0.178904935717583,-0.016484772786498,0.090484976768494,0.104279823601246,-0.049078002572060,0.049493316560984,-0.211735904216766,0.021785190328956,-0.102762177586555,0.016968185082078,0.002833070466295) * MODEL12_texOff(vec2(1,0));
res += mat4(0.106445729732513,-0.111474052071571,0.050841461867094,0.028450131416321,-0.027667831629515,0.052995909005404,0.060094829648733,-0.089400440454483,-0.035437081009150,-0.195603698492050,0.073362290859222,0.021817654371262,0.011718848720193,-0.099222920835018,0.060651034116745,-0.076955936849117) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.259669125080109,0.301717579364777,-0.144294589757919,-0.551510930061340) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 6_1

vec4 hook()
{
vec4 res = vec4(-0.122877262532711,0.214044362306595,-0.132547289133072,0.178503498435020);
res += mat4(0.017708420753479,0.125526577234268,-0.000515213119797,0.044760763645172,-0.087188176810741,0.089308977127075,-0.013056912459433,0.122294351458549,0.064129941165447,0.089702829718590,-0.017034128308296,-0.076650559902191,0.019201843068004,-0.019360294565558,0.005047798156738,-0.036564864218235) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.210740968585014,-0.090714320540428,-0.206133991479874,0.088040947914124,0.222867220640182,0.032934639602900,0.113420963287354,-0.030671736225486,0.252867609262466,-0.026717234402895,0.063219375908375,0.184779301285744,-0.036437913775444,-0.017317045480013,-0.010397075675428,0.047200225293636) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.090887129306793,0.019081646576524,0.049849811941385,0.009292619302869,-0.185151100158691,0.046298854053020,0.001438229111955,-0.155962586402893,-0.036339432001114,-0.102850161492825,0.082778871059418,0.059232734143734,0.025441611185670,-0.042344652116299,0.007918057031929,0.137113600969315) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.165257841348648,0.029723925516009,0.049640789628029,-0.004442004486918,-0.171048462390900,0.070596791803837,0.115392126142979,0.116449676454067,-0.321880489587784,0.077356286346912,0.244954541325569,-0.317690223455429,0.066154770553112,-0.065484851598740,-0.016310494393110,-0.025793842971325) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.118205361068249,0.182943284511566,-0.033832393586636,-0.125102683901787,0.018628548830748,0.086917646229267,0.008153968490660,0.161562994122505,-0.033770088106394,-0.178686589002609,-0.019800696521997,-0.008042096160352,-0.450488060712814,0.091031543910503,0.173788368701935,-0.228973001241684) * MODEL1_texOff(vec2(0,0));
res += mat4(0.088102243840694,0.067151866853237,-0.125893950462341,0.252298831939697,-0.243456006050110,-0.042758837342262,0.079401426017284,0.106789901852608,0.209613889455795,-0.101708866655827,-0.052088022232056,-0.247726887464523,-0.134372845292091,-0.023904887959361,-0.359959423542023,0.092337206006050) * MODEL1_texOff(vec2(0,1));
res += mat4(0.014264669269323,-0.012851458042860,-0.004788893740624,0.026992671191692,0.013303416781127,-0.099691964685917,-0.013163530267775,0.145654886960983,0.154199495911598,0.054027777165174,0.053400754928589,0.015840116888285,-0.126826360821724,0.026704490184784,-0.012410518713295,-0.045125406235456) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.117049515247345,-0.009710961021483,-0.059535399079323,0.032387636601925,0.063481450080872,-0.138386934995651,0.087933659553528,0.169000849127769,-0.034599885344505,0.177925899624825,0.022834161296487,-0.083846412599087,0.096474349498749,-0.041758727282286,-0.016364356502891,-0.038957472890615) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.001300951698795,-0.051572997123003,0.037120316177607,-0.000229131561355,-0.256692886352539,-0.087897621095181,0.036612577736378,0.198168143630028,0.052134957164526,0.191569820046425,-0.103947997093201,0.042260009795427,0.171239063143730,-0.063139930367470,0.096609979867935,-0.046772684901953) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.205261871218681,0.125704899430275,-0.030170314013958,-0.118312217295170,0.042046677321196,0.052448023110628,0.127267852425575,-0.102814294397831,0.064448647201061,-0.005633232183754,-0.006505553610623,0.060406476259232,0.037306584417820,0.100580580532551,-0.068392172455788,-0.000218486457015) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.067115619778633,0.111205875873566,0.027130663394928,-0.489537894725800,0.276974976062775,-0.058991696685553,0.118016064167023,-0.412935167551041,0.219227790832520,0.031852893531322,-0.007775173522532,-0.146240115165710,0.171423941850662,0.055616598576307,-0.006391136907041,-0.018941806629300) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.017816551029682,0.074277192354202,0.046697627753019,-0.086843147873878,0.150701403617859,0.046434752643108,0.081296533346176,-0.285770714282990,-0.289033740758896,0.062691330909729,-0.051294859498739,0.037686780095100,-0.102264083921909,-0.004085016436875,-0.013094801455736,0.140165388584137) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.101060166954994,0.093016549944878,0.194969758391380,-0.139137327671051,0.024937225505710,0.020937230437994,0.123211547732353,-0.152571201324463,0.008005766198039,0.017967246472836,-0.173157453536987,-0.009414446540177,0.126448765397072,-0.113838128745556,-0.084140442311764,0.051771119236946) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.074862577021122,0.104949936270714,0.089576512575150,-0.245572909712791,0.326465576887131,0.022283531725407,-0.009461682289839,-0.307218074798584,-0.255528956651688,0.000201993549126,0.028851997107267,-0.016986323520541,0.161063075065613,-0.030050549656153,0.001853361027315,-0.021520795300603) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.214398622512817,0.073246523737907,0.165356576442719,-0.105148330330849,0.025758869946003,0.005985376890749,0.237653955817223,-0.302959620952606,0.334688276052475,-0.097903452813625,0.138377502560616,-0.074823550879955,-0.118617221713066,0.108278818428516,-0.062497176229954,0.130558729171753) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.041758865118027,-0.035415280610323,0.022205080837011,-0.109032675623894,0.174520105123520,0.043795160949230,0.084870085120201,0.066101714968681,-0.010446101427078,0.019456811249256,-0.060219060629606,0.069820389151573,-0.010767364874482,-0.192781433463097,-0.065502874553204,-0.093159273266792) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.050162013620138,-0.199461221694946,-0.006731054745615,-0.029467338696122,0.113184943795204,0.071165457367897,-0.026311025023460,-0.111517414450645,0.066369332373142,-0.293045699596405,-0.030339648947120,0.025575656443834,0.268957793712616,-0.595200657844543,0.153648242354393,-0.042793709784746) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.082683049142361,0.031966269016266,0.038794927299023,0.023074494674802,0.202754065394402,-0.103825241327286,0.100213564932346,-0.096583880484104,0.096849694848061,-0.082356341183186,0.118507146835327,-0.072951160371304,-0.046660572290421,0.095829226076603,-0.107764340937138,-0.005412409547716) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.069289363920689,0.007442483212799,-0.019017564132810,-0.062134310603142,-0.008865757845342,0.085731215775013,-0.075403466820717,-0.022124767303467,0.165776148438454,-0.084073267877102,0.001636937377043,-0.019310187548399,0.044417481869459,-0.012160469777882,0.138800382614136,-0.146955624222755) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.149545863270760,0.064199261367321,-0.074256487190723,0.061649259179831,0.233608782291412,0.003461028449237,0.080423250794411,-0.199397176504135,-0.397242993116379,0.111873693764210,-0.037761278450489,0.168929889798164,0.053001832216978,-0.110352374613285,0.039913475513458,-0.061886474490166) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.076977133750916,0.050866927951574,-0.018893579021096,0.101922199130058,-0.301894515752792,-0.021983785554767,0.074697360396385,-0.087235219776630,0.089175537228584,0.102127976715565,0.027205985039473,-0.050298154354095,0.010881725698709,0.035220209509134,0.007187226787210,0.246184751391411) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.001290018088184,0.028966097161174,-0.027629822492599,-0.098155289888382,-0.058381639420986,0.030196122825146,0.177848234772682,0.038273736834526,0.160094752907753,-0.013091352768242,0.004915003664792,-0.144654259085655,-0.095683544874191,-0.102885611355305,0.064741812646389,-0.089266411960125) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.019451761618257,0.053880497813225,0.060335680842400,0.201909393072128,-0.281346052885056,-0.139829769730568,-0.561011552810669,-0.137465283274651,-0.072979658842087,0.244271740317345,0.062262270599604,-0.232859998941422,0.095970042049885,-0.124043278396130,-0.098154135048389,0.072705641388893) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.004276766907424,0.093451537191868,-0.234778061509132,0.107750095427036,0.270966321229935,0.062383443117142,0.288471698760986,-0.023493850603700,0.240255787968636,0.144113659858704,0.191846996545792,-0.349853873252869,-0.066909439861774,-0.066253371536732,-0.152509734034538,0.259509474039078) * MODEL3_texOff(vec2(0,1));
res += mat4(0.124800771474838,-0.058589071035385,-0.049415268003941,0.051879268139601,-0.036849092692137,0.195960178971291,-0.010017660446465,-0.004757631104439,-0.038216494023800,0.098106950521469,0.003734524594620,-0.073577634990215,0.056295085698366,-0.100963473320007,0.116951607167721,-0.074368834495544) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.083511061966419,0.125818654894829,-0.113285988569260,0.083036549389362,0.002476733410731,0.424494653940201,0.117823757231236,0.062684178352356,0.114473544061184,-0.079935409128666,0.028289157897234,0.016372611746192,-0.149396151304245,-0.068853914737701,-0.278168886899948,0.083036221563816) * MODEL3_texOff(vec2(1,0));
res += mat4(0.060238819569349,-0.025672137737274,-0.017891878262162,0.239109590649605,0.070169508457184,0.044640772044659,0.064903542399406,0.063357427716255,0.000252123223618,-0.025536073371768,0.160331368446350,-0.048564974218607,-0.013271583244205,-0.021799262613058,-0.178590863943100,0.151213616132736) * MODEL3_texOff(vec2(1,1));
res += mat4(0.007494728080928,-0.028542326763272,0.064781248569489,0.068828813731670,0.010685239918530,-0.158054798841476,-0.048627544194460,-0.023421280086040,0.136814966797829,-0.024866646155715,-0.008512633852661,0.044925030320883,-0.125656753778458,0.005934457760304,-0.032588135451078,-0.052373409271240) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.133708134293556,-0.001844662358053,-0.007043179124594,-0.042620647698641,-0.259926617145538,0.018349129706621,-0.215027183294296,-0.134985819458961,0.224271908402443,-0.010159972123802,0.065472982823849,-0.046002201735973,-0.113302670419216,0.027474658563733,-0.056014884263277,0.184045612812042) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.048696089535952,0.020627582445741,-0.005618743598461,-0.050237633287907,-0.006003197282553,-0.006244418676943,-0.070429168641567,-0.244076386094093,0.057274363934994,0.067174859344959,0.061092671006918,-0.093976035714149,-0.069377049803734,-0.002511434722692,-0.085506066679955,0.222441583871841) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.001804659841582,-0.088508285582066,-0.064609721302986,0.091537609696388,0.201209366321564,-0.008281496353447,-0.120122872292995,-0.069542840123177,0.036240048706532,-0.030163232237101,0.043165180832148,0.052905797958374,-0.005320156458765,0.027960382401943,-0.052767775952816,0.048163056373596) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.019545154646039,-0.267882764339447,-0.016700124368072,0.126141518354416,0.089438319206238,0.071417085826397,0.143753394484520,-0.563389956951141,0.038523972034454,-0.077259197831154,-0.180519387125969,0.003468151437119,-0.072210326790810,-0.039403319358826,-0.019411263987422,-0.100234977900982) * MODEL4_texOff(vec2(0,0));
res += mat4(0.285356968641281,-0.076339565217495,-0.038557138293982,0.092652484774590,0.206346660852432,0.065167546272278,0.159293264150620,0.034061402082443,-0.073979742825031,-0.035235941410065,0.132678970694542,0.022518498823047,-0.287991225719452,0.069406226277351,-0.198805987834930,0.128225445747375) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.001143665751442,0.140372484922409,-0.031812317669392,-0.100012145936489,-0.244103789329529,0.060556232929230,-0.196720153093338,-0.001472764415666,0.182587146759033,0.156891018152237,-0.029711822047830,0.078334152698517,0.125384524464607,-0.034291174262762,-0.113936096429825,-0.038960672914982) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.130373924970627,0.617649734020233,0.073855027556419,-0.220376431941986,-0.177565261721611,0.134978562593460,-0.030612589791417,0.010170341469347,-0.247431695461273,0.176202386617661,-0.230165988206863,0.018793839961290,-0.234606966376305,0.080091290175915,0.109370388090611,0.039705622941256) * MODEL4_texOff(vec2(1,0));
res += mat4(0.000185706798220,0.266215473413467,-0.104717411100864,0.127051278948784,-0.069671779870987,0.025123393163085,0.003194933524355,0.044441908597946,-0.185870587825775,0.061234194785357,-0.187074527144432,0.090394154191017,-0.285527080297470,-0.027617499232292,-0.073054566979408,0.056539226323366) * MODEL4_texOff(vec2(1,1));
res += mat4(0.094474866986275,-0.047359351068735,0.002694676630199,-0.084709733724594,0.087023191154003,-0.081988260149956,-0.028055602684617,0.065158545970917,0.030874647200108,-0.045894593000412,0.039270892739296,-0.284135878086090,0.123239323496819,0.147349089384079,0.022147955372930,0.009028643369675) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.212047502398491,-0.149569541215897,0.043646682053804,-0.089424744248390,-0.399157524108887,-0.087366320192814,0.048642013221979,-0.143852770328522,0.150671109557152,0.086816608905792,0.370020747184753,-0.996336102485657,0.053945135325193,0.024242134764791,-0.126671373844147,-0.004129930399358) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.108968883752823,0.006375342141837,-0.050526868551970,-0.001317147514783,0.123396426439285,-0.123498350381851,-0.122870378196239,0.049640145152807,-0.130962759256363,0.014800464734435,-0.072581849992275,-0.041174612939358,-0.024622740224004,-0.020516421645880,0.019835382699966,0.000251219811616) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.148552328348160,-0.236282303929329,-0.078860789537430,0.070331297814846,0.213625609874725,-0.109815724194050,-0.131930470466614,0.157964393496513,0.249529525637627,-0.043181270360947,0.103508546948433,-0.115288235247135,0.082146681845188,0.023122973740101,-0.039206117391586,0.070739381015301) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.220657095313072,-0.308443397283554,0.137509778141975,-0.080595493316650,0.190330445766449,0.246400997042656,0.476300001144409,-0.285572767257690,0.001864203717560,0.069712951779366,0.305147230625153,-0.019285496324301,0.105823889374733,0.096850842237473,-0.173036664724350,-0.225893124938011) * MODEL5_texOff(vec2(0,0));
res += mat4(0.010460277087986,-0.100674785673618,0.096296831965446,0.077942743897438,-0.011185079813004,-0.020855525508523,-0.156810075044632,0.107899099588394,-0.098236426711082,-0.036934014409781,0.093575231730938,-0.036921277642250,-0.254735946655273,0.107399560511112,0.285335302352905,-0.275541245937347) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.013563805259764,-0.183700844645500,-0.082135930657387,0.016749421134591,-0.262101173400879,0.239055678248405,-0.077240355312824,0.044720366597176,-0.214961916208267,-0.028600865975022,0.004331690259278,-0.096648089587688,-0.004277833271772,-0.044753894209862,-0.079404324293137,0.144654721021652) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.110713385045528,-0.075202018022537,0.125086590647697,0.085877165198326,0.001624042401090,-0.090670526027679,0.033476348966360,-0.010419849306345,-0.030702168121934,0.002871659118682,0.203702121973038,-0.076219968497753,0.070587962865829,0.000636772485450,0.032231081277132,0.272392839193344) * MODEL5_texOff(vec2(1,0));
res += mat4(0.174764066934586,-0.067022018134594,-0.052614070475101,0.030201967805624,0.074466757476330,0.031352698802948,0.023843439295888,0.035943895578384,-0.015402561984956,0.018465040251613,0.085113249719143,0.096335880458355,0.187624111771584,-0.036557428538799,0.070965789258480,0.110222592949867) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.043436191976070,-0.029578952118754,-0.057797189801931,0.009674198925495,-0.031482320278883,-0.006627877708524,0.008080178871751,0.018609400838614,-0.081986427307129,-0.146967083215714,-0.068114630877972,-0.011086458340287,-0.062278106808662,0.024517165496945,0.008095300756395,0.041348032653332) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.156143113970757,0.027868485078216,0.079409129917622,-0.045622974634171,0.055216591805220,0.028473353013396,-0.000306125701172,0.024151708930731,0.080300070345402,-0.081919282674789,0.044449850916862,-0.038533251732588,-0.057027883827686,-0.032469972968102,-0.000075251773524,0.107397839426994) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.062375407665968,0.062524743378162,0.062565244734287,-0.054164610803127,0.045776698738337,-0.013201781548560,0.033222034573555,0.062432646751404,0.043422833085060,0.026590667665005,0.078081399202347,0.052548803389072,-0.150186091661453,-0.018676340579987,-0.082512423396111,-0.001410963013768) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.036787912249565,-0.210520908236504,0.014403448440135,-0.061543509364128,-0.045979857444763,-0.039091698825359,0.081805646419525,-0.035666693001986,0.182690247893333,0.075764663517475,0.127975180745125,-0.044463466852903,-0.075289115309715,0.046902362257242,-0.069911390542984,0.086482472717762) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.235531806945801,-0.033866286277771,-0.075992994010448,0.105333834886551,-0.047045491635799,0.005861127283424,0.139037668704987,-0.195132091641426,-0.035937115550041,0.120257578790188,0.083708576858044,0.020736031234264,0.285769373178482,-0.049244511872530,-0.033080693334341,-0.002981057157740) * MODEL6_texOff(vec2(0,0));
res += mat4(0.179893314838409,-0.049361381679773,-0.081775180995464,0.232107356190681,-0.001248053391464,0.046468663960695,-0.080492101609707,-0.000885574263521,-0.044804207980633,-0.011792750097811,-0.046303339302540,0.178039103746414,-0.259043455123901,-0.034586254507303,-0.068810164928436,0.088565856218338) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.213265895843506,-0.220459312200546,-0.001422871951945,-0.050569918006659,-0.073732063174248,-0.118732683360577,0.064232371747494,-0.066210128366947,-0.040740333497524,-0.033493496477604,-0.079528644680977,0.107909433543682,-0.216682150959969,-0.043668232858181,-0.000743253272958,0.002130430890247) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.050544038414955,-0.099717959761620,0.013943993486464,0.075874164700508,-0.028475057333708,0.196138978004456,0.088788136839867,0.003032413544133,-0.025557650253177,-0.058637127280235,-0.194260880351067,0.027133924886584,0.165022730827332,-0.811618447303772,-0.052161291241646,0.007143006194383) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.124822191894054,-0.150679752230644,-0.056356023997068,0.101873710751534,-0.098471537232399,-0.052700124680996,-0.001512974966317,0.060672834515572,0.065610542893410,-0.016180822625756,0.020196836441755,-0.012638382613659,-0.134763404726982,-0.183182403445244,0.000866401765961,0.028101667761803) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.074716903269291,-0.104846462607384,-0.029146244749427,0.045180972665548) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 6_2

vec4 hook()
{
vec4 res = vec4(0.027827505022287,0.081507436931133,0.142883643507957,-0.016255289316177);
res += mat4(-0.078798778355122,0.090887583792210,0.130846858024597,0.098154142498970,-0.078547112643719,0.028829948976636,-0.139214247465134,-0.047912642359734,0.203831091523170,0.086265899240971,0.114558398723602,0.020414797589183,-0.044865440577269,0.024388369172812,-0.077557988464832,0.053314015269279) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.139190956950188,0.172598630189896,0.185291901230812,0.108415089547634,-0.066931307315826,0.138519138097763,0.262033998966217,-0.196955889463425,-0.059949554502964,-0.060168135911226,0.145827233791351,-0.012507022358477,-0.028114674612880,-0.322119712829590,-0.062939561903477,0.090292155742645) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.003298645839095,0.096339076757431,-0.011473510414362,-0.105675570666790,0.111926980316639,0.065963827073574,0.064318187534809,-0.088840380311012,0.060247704386711,0.018504798412323,0.012809021398425,0.003119152039289,0.111998647451401,-0.132012188434601,0.159731522202492,0.089545331895351) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.103776186704636,-0.176773101091385,0.119995772838593,-0.003845649305731,-0.022862983867526,-0.026090323925018,-0.047037772834301,-0.046058524399996,0.304053872823715,-0.088438920676708,0.134330838918686,-0.042320489883423,0.162129610776901,0.089456014335155,-0.032939620316029,0.227632075548172) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.324632555246353,-0.006358752492815,-0.073886819183826,-0.022803045809269,-0.006113454699516,-0.036530863493681,-0.444949090480804,-0.001652446109802,0.060088075697422,-0.012301148846745,0.037594590336084,0.007136864122003,-0.468541830778122,-0.526219964027405,0.104708135128021,-0.359659135341644) * MODEL1_texOff(vec2(0,0));
res += mat4(0.268549501895905,0.069862999022007,0.039783120155334,0.117063827812672,-0.099030420184135,-0.054327290505171,-0.101768255233765,-0.020457003265619,-0.106070660054684,0.064068257808685,0.162682101130486,-0.030589561909437,0.038231935352087,-0.070036999881268,0.046056639403105,-0.044988937675953) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.058644719421864,-0.095332264900208,-0.034903764724731,-0.031455360352993,-0.071052424609661,0.104901626706123,0.016598312184215,0.168418347835541,-0.357392638921738,-0.095464535057545,-0.062667027115822,0.157826691865921,0.005903097800910,0.090728677809238,0.037467133253813,0.022833831608295) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.116981357336044,-0.132672235369682,-0.085028842091560,-0.129895687103271,-0.089699782431126,0.026342373341322,-0.073667503893375,0.277031600475311,-0.029231267049909,-0.007147513795644,-0.007920045405626,0.053641885519028,0.077931337058544,0.267707496881485,0.004819578491151,0.392003208398819) * MODEL1_texOff(vec2(1,0));
res += mat4(0.077216506004333,-0.111025832593441,-0.071220964193344,-0.096560113132000,-0.154981091618538,0.023075025528669,0.069659993052483,0.127475887537003,0.099366433918476,0.045382879674435,-0.048401527106762,-0.116608232259750,0.035368744283915,0.228391543030739,0.009693626314402,0.178231105208397) * MODEL1_texOff(vec2(1,1));
res += mat4(0.014791693538427,0.077501915395260,0.091256506741047,0.009614692069590,0.101144030690193,-0.027793120592833,0.160436078906059,0.047815430909395,0.024996507912874,0.024164875969291,0.054803159087896,0.052208859473467,-0.144355863332748,-0.033234260976315,-0.145234078168869,-0.094013445079327) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.196581035852432,0.101492300629616,0.113940976560116,-0.005445370450616,0.114066995680332,-0.036306321620941,-0.253931105136871,0.013565776869655,-0.132722914218903,-0.015783382579684,-0.007834923453629,0.115154981613159,0.001377162057906,-0.015874499455094,0.065156646072865,-0.034452859312296) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.067539833486080,-0.067207753658295,-0.035664442926645,-0.011544005945325,-0.187939658761024,0.098253756761551,0.037483967840672,0.037507873028517,-0.196742370724678,-0.135310485959053,-0.146324723958969,0.060646314173937,0.144972801208496,0.092657513916492,0.015967557206750,-0.043288215994835) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.152132615447044,0.006569376681000,0.170899599790573,-0.003382400376722,0.056031063199043,-0.037299714982510,0.203798741102219,-0.035929124802351,-0.022021889686584,-0.017809282988310,-0.142590507864952,0.025574676692486,-0.121016971766949,0.047389745712280,-0.015093440189958,0.055076237767935) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.076234333217144,-0.057023022323847,-0.149563580751419,-0.010945935733616,0.187399446964264,0.082029238343239,-0.098015986382961,0.187612265348434,0.184375837445259,0.010027705691755,0.018937513232231,0.081448212265968,-0.251484066247940,0.167575508356094,0.228524252772331,0.103825159370899) * MODEL2_texOff(vec2(0,0));
res += mat4(0.216769725084305,0.008951575495303,-0.142854899168015,0.123668685555458,0.178534477949142,-0.057857386767864,-0.024887090548873,0.096344694495201,-0.190694004297256,0.115769423544407,-0.013153185136616,0.163054212927818,0.106633499264717,0.003744030138478,0.207825273275375,0.049958683550358) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.101689308881760,-0.007893661968410,0.061742536723614,-0.158044815063477,-0.045735642313957,-0.028187394142151,-0.012481121346354,-0.059366676956415,0.037986963987350,-0.001477647805586,-0.057266142219305,-0.096655674278736,0.181961134076118,-0.067427858710289,-0.080220617353916,0.086674697697163) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.208179444074631,0.053692750632763,0.005624564830214,0.080295376479626,0.118657790124416,0.059209175407887,0.042969428002834,-0.191951960325241,-0.059599176049232,0.055639766156673,0.034107189625502,-0.045140758156776,0.035940121859312,0.035192366689444,-0.043462887406349,0.049320388585329) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.038971666246653,-0.027669563889503,0.050169371068478,-0.031306322664022,0.223388954997063,0.100121371448040,-0.006624782457948,0.011124924756587,0.126098215579987,-0.048809889703989,0.073593363165855,-0.202398061752319,-0.303205400705338,-0.134443610906601,-0.035870727151632,-0.031327020376921) * MODEL2_texOff(vec2(1,1));
res += mat4(0.149950936436653,-0.048142060637474,-0.340625286102295,0.030306408181787,-0.117324620485306,0.013338348828256,0.001552006811835,-0.089508719742298,-0.125075578689575,0.057587053626776,-0.024312404915690,0.006468528881669,-0.088042005896568,-0.049519028514624,-0.083261035382748,0.003674316918477) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.149524182081223,0.010616394691169,-0.113023474812508,0.019238112494349,-0.180353850126266,0.137218356132507,0.187601208686829,0.126766100525856,0.000865183072165,0.320391237735748,-0.055022392421961,-0.184271693229675,-0.029182605445385,-0.104418911039829,-0.095735862851143,-0.057085402309895) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.001390618621372,0.008284757845104,0.070789292454720,0.005855122115463,0.006963801570237,-0.077154934406281,-0.087504938244820,0.097096033394337,-0.082681760191917,0.003789455862716,0.029941754415631,-0.103229865431786,0.040523137897253,0.074571415781975,-0.004838470369577,-0.081182554364204) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.032691542059183,-0.000453907734482,0.118380792438984,0.008305823430419,0.130931556224823,0.287345588207245,0.016201294958591,0.026557426899672,0.097168855369091,0.096689976751804,0.005183706525713,-0.014606840908527,0.104808986186981,-0.161074206233025,0.107729122042656,-0.044124048203230) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.098629094660282,-0.070180259644985,0.104719154536724,-0.002593881217763,-0.425655096769333,0.486040502786636,0.021773580461740,-0.332419008016586,0.020466631278396,-0.027341138571501,-0.042505629360676,-0.043298643082380,-0.167896434664726,0.482156842947006,-0.182018652558327,0.077229045331478) * MODEL3_texOff(vec2(0,0));
res += mat4(0.081466883420944,-0.128819674253464,0.019617334008217,-0.106070250272751,-0.029033992439508,-0.012207422405481,-0.209117308259010,-0.050902571529150,-0.060702316462994,0.001430999953300,0.131620377302170,0.034638565033674,0.050631862133741,0.194150313735008,0.195997327566147,0.093535564839840) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.076082922518253,-0.155061006546021,0.079681076109409,-0.185020580887794,-0.023932116106153,-0.036686610430479,0.041408244520426,-0.064586363732815,-0.091765753924847,0.001750093186274,-0.020449260249734,-0.089679025113583,0.003520020283759,-0.056762468069792,0.060760434716940,-0.057980027049780) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.009209074079990,-0.043176405131817,-0.123820848762989,-0.343823552131653,0.207025542855263,-0.100610777735710,-0.081479653716087,0.314730495214462,0.053201548755169,-0.000528276606929,-0.014464769512415,-0.123756594955921,-0.184526160359383,0.278750807046890,-0.061951864510775,-0.202578723430634) * MODEL3_texOff(vec2(1,0));
res += mat4(0.150316447019577,-0.048777174204588,-0.046802185475826,-0.158199548721313,0.031963594257832,-0.110349208116531,-0.069897852838039,0.024045312777162,0.108878485858440,0.019638333469629,0.099667891860008,-0.058250624686480,-0.164658367633820,0.143568173050880,0.093141019344330,-0.121831163764000) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.058411911129951,-0.024726577103138,-0.006423082202673,0.021291136741638,-0.088606439530849,0.014396238140762,-0.092260845005512,0.022815747186542,-0.019975772127509,0.159226700663567,0.031134864315391,-0.058503236621618,-0.088284611701965,0.008547561243176,0.035255186259747,-0.013122734613717) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.038484565913677,0.033681713044643,0.197672739624977,0.024244787171483,0.036451399326324,0.007075290195644,-0.124525062739849,-0.066298410296440,-0.070792600512505,0.198398187756538,0.275554060935974,-0.177975267171860,-0.194031715393066,-0.096963614225388,-0.051321562379599,0.048639174550772) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.116083189845085,0.006127512082458,0.082154095172882,-0.066709667444229,-0.056405149400234,-0.000904219050426,-0.031778622418642,0.017120184376836,-0.020986665040255,-0.014542097225785,0.024686885997653,-0.105679310858250,0.081679493188858,-0.048329927027225,-0.177285879850388,-0.021550083532929) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.182086899876595,0.020311063155532,0.022882314398885,0.014245349913836,-0.023024501278996,0.096553795039654,-0.264471560716629,0.066676989197731,0.118550755083561,0.059361808001995,0.045550763607025,-0.046802014112473,-0.127532511949539,-0.037176731973886,-0.117612682282925,-0.034498885273933) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.167473912239075,0.147719144821167,-0.472932398319244,0.221950650215149,0.105280563235283,0.069899939000607,0.075816787779331,0.070325940847397,0.144386455416679,-0.105601198971272,-0.344730287790298,0.107140801846981,0.104044429957867,0.001828256645240,0.045778933912516,0.110442012548447) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.220392331480980,-0.058469671756029,-0.189756512641907,-0.082231745123863,-0.232248455286026,0.009289318695664,0.030401103198528,0.021922608837485,-0.211655810475349,-0.042271401733160,-0.148683652281761,-0.103134408593178,-0.049324143677950,0.105427227914333,-0.075367137789726,0.031125985085964) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.177536815404892,-0.023393997922540,0.120870128273964,-0.219026982784271,-0.017747679725289,0.060982614755630,-0.067254610359669,-0.017470583319664,0.000695171998814,-0.074045039713383,-0.076297476887703,0.169307827949524,-0.185040906071663,-0.022432876750827,-0.075094498693943,-0.044501982629299) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.099388778209686,-0.192056730389595,0.123513132333755,-0.481252789497375,-0.008012596517801,-0.098764732480049,0.089587748050690,-0.126049101352692,-0.402707278728485,-0.283255428075790,0.117516212165356,-0.365188390016556,-0.039347168058157,-0.051242977380753,0.159035965800285,-0.209249094128609) * MODEL4_texOff(vec2(1,0));
res += mat4(0.049272168427706,0.006234593223780,0.005573064088821,-0.090612754225731,-0.109244592487812,-0.021236175671220,0.038052588701248,0.039592474699020,0.156787663698196,0.123586252331734,-0.009297415614128,0.136603549122810,0.106091164052486,0.128951892256737,0.064569912850857,0.018191477283835) * MODEL4_texOff(vec2(1,1));
res += mat4(0.283565610647202,-0.187454044818878,-0.281075417995453,-0.118906252086163,-0.255751699209213,-0.018767179921269,0.076129265129566,0.030342649668455,-0.147699415683746,-0.020669009536505,-0.073920264840126,0.024514975026250,-0.132431983947754,-0.040734615176916,-0.103506036102772,-0.043211132287979) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.146837964653969,-0.011116136796772,-0.078097961843014,0.010959675535560,0.100006610155106,-0.165186032652855,-0.256857573986053,0.021634466946125,-0.129395052790642,-0.094854719936848,-0.013467226177454,-0.074026472866535,0.020682055503130,0.072783716022968,-0.048772633075714,0.072101481258869) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.009855926036835,-0.022037999704480,0.081862375140190,0.040239322930574,0.111722983419895,0.093328237533569,-0.108695834875107,0.014410361647606,0.036271188408136,-0.078338243067265,-0.006447626743466,0.037702284753323,0.245361790060997,0.009833491407335,0.093957737088203,0.042476333677769) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.100748308002949,-0.017822287976742,0.021070126444101,-0.032026950269938,0.070671834051609,0.129604071378708,-0.339586496353149,-0.100097484886646,-0.117240525782108,0.056823879480362,-0.101915337145329,0.250310420989990,-0.071393951773643,-0.193016186356544,-0.153901621699333,-0.005793390795588) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.258158415555954,0.099884502589703,-0.023621805012226,-0.034787859767675,-0.304704368114471,-0.146502465009689,0.380739450454712,-0.136693686246872,0.020524680614471,-0.118200972676277,-0.033703580498695,-0.064127817749977,0.051945284008980,0.263963639736176,-0.165756925940514,-0.123303629457951) * MODEL5_texOff(vec2(0,0));
res += mat4(0.110968708992004,0.019848426803946,0.110166415572166,-0.090746521949768,-0.092230968177319,0.161132618784904,0.080993376672268,-0.010425041429698,0.033434998244047,-0.041894797235727,-0.032555703073740,0.011345543898642,-0.001334371278062,0.118999578058720,0.185449719429016,-0.021204093471169) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.010864951647818,-0.019475461915135,0.041182987391949,-0.063006274402142,0.133046552538872,0.017664754763246,-0.010323895141482,-0.047634247690439,-0.071675807237625,-0.006241077091545,0.058227587491274,0.087260596454144,0.112943120300770,-0.099229805171490,-0.008683985099196,0.055089972913265) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.014962123706937,-0.040672335773706,0.009765180759132,-0.091841317713261,0.155471041798592,-0.056592158973217,-0.074599005281925,0.205380573868752,-0.033773295581341,-0.023192048072815,0.077329590916634,0.053198829293251,0.207054212689400,-0.187087967991829,0.234625935554504,-0.049106523394585) * MODEL5_texOff(vec2(1,0));
res += mat4(0.090595461428165,-0.005819648038596,0.018854312598705,-0.146828547120094,-0.108556494116783,0.001687626470812,-0.102755352854729,-0.046792410314083,-0.083274200558662,-0.062501050531864,-0.035146988928318,0.007850040681660,-0.047943301498890,-0.047863684594631,0.101183675229549,0.055217988789082) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.130969151854515,0.064284890890121,0.061175785958767,0.008534320630133,-0.048979308456182,-0.024827666580677,-0.082241609692574,-0.014779615215957,0.009418286383152,-0.160090193152428,-0.039152164012194,0.162694811820984,-0.016697917133570,0.032838549464941,-0.134763807058334,-0.074344195425510) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.014934745617211,0.140426576137543,0.330433905124664,-0.047463104128838,0.075480289757252,-0.151935383677483,-0.063974268734455,0.021989513188601,-0.063844583928585,-0.195787549018860,-0.092872336506844,0.094658523797989,0.107596881687641,0.019712764769793,-0.112796574831009,-0.007165079470724) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.032366622239351,0.002157880691811,0.052388843148947,-0.075348913669586,0.013521892949939,-0.097903415560722,0.043876271694899,0.090094059705734,-0.128928676247597,-0.160678490996361,-0.087505571544170,-0.005773737095296,-0.058774311095476,0.042894750833511,-0.078271366655827,0.016321294009686) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.005091615021229,-0.120119623839855,-0.194333299994469,-0.089811466634274,-0.067508488893509,-0.147616371512413,-0.091420702636242,-0.000671595393214,0.083731368184090,0.009169961325824,0.000526511459611,0.116655476391315,-0.227654471993446,0.025648450478911,-0.135585293173790,-0.099299378693104) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.412774026393890,-0.039810270071030,-0.275040417909622,-0.196081876754761,-0.178182840347290,-0.520113408565521,0.175695523619652,-0.028724333271384,-0.071062684059143,-0.168811410665512,0.188831731677055,0.062091346830130,0.032596033066511,0.056962590664625,-0.004791323095560,-0.032150670886040) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.186667382717133,-0.040863059461117,-0.160040482878685,-0.072613842785358,-0.047231178730726,-0.244653239846230,-0.034015458077192,0.011831825599074,-0.060131117701530,-0.219803512096405,-0.021679092198610,0.088498920202255,-0.034001175314188,0.024598296731710,-0.000583774875849,0.046692579984665) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.027662405744195,-0.044673688709736,-0.020585278049111,-0.086252890527248,-0.039761237800121,-0.101696565747261,-0.041580788791180,-0.003419501474127,-0.219454914331436,0.342388093471527,-0.049359161406755,-0.130760863423347,-0.221049264073372,-0.012114212848246,0.000527132651769,-0.068984255194664) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.061249859631062,0.036642372608185,-0.098989374935627,0.203022763133049,-0.245675608515739,-0.402995705604553,0.051874253898859,-0.213492646813393,-0.084861859679222,0.054994422942400,0.101745210587978,-0.226383209228516,0.185795232653618,-0.144097372889519,-0.054767668247223,0.159637421369553) * MODEL6_texOff(vec2(1,0));
res += mat4(0.037454735487700,-0.020005850121379,0.008830990642309,0.064722113311291,0.012657027691603,-0.148254901170731,-0.021549666300416,-0.002765979152173,0.046967905014753,-0.141626566648483,0.053104721009731,-0.070318661630154,-0.073432758450508,0.047483921051025,-0.034197714179754,-0.002627099631354) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.081970803439617,-0.277777016162872,0.780605018138885,0.519748032093048) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 6_3

vec4 hook()
{
vec4 res = vec4(-0.029222363606095,-0.024399572983384,0.006588466931134,0.056504290550947);
res += mat4(-0.195522427558899,0.058100186288357,0.083294577896595,-0.014671767130494,0.117888301610947,0.164263695478439,-0.236535787582397,0.061158824712038,0.254197508096695,0.129447624087334,-0.203210055828094,0.049593705683947,-0.101703904569149,-0.114610910415649,0.163804903626442,-0.061798121780157) * MODEL1_texOff(vec2(-1,-1));
res += mat4(-0.000253800768405,-0.115501791238785,-0.418224364519119,-0.085384786128998,0.152026832103729,0.140396550297737,-0.138861387968063,-0.038046143949032,0.044368751347065,-0.267364621162415,0.061325855553150,0.098501093685627,-0.104653082787991,-0.251685529947281,0.059837412089109,0.131152987480164) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.033544939011335,0.094937644898891,0.012708498165011,-0.036108028143644,-0.117187045514584,0.119620963931084,-0.121884785592556,0.005448531825095,0.034137830138206,-0.168589726090431,-0.099017143249512,0.013219498097897,0.058637242764235,-0.262181788682938,0.012800195254385,0.010704133659601) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.253495573997498,-0.069841355085373,0.052011959254742,0.114322930574417,-0.197529211640358,-0.051302514970303,-0.290953814983368,-0.073526568710804,-0.127515926957130,-0.180275857448578,0.216246515512466,0.149821534752846,-0.014389685355127,0.067608915269375,-0.204833701252937,-0.075509950518608) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.201031818985939,-0.107304893434048,-0.297127008438110,0.000367301632650,-0.244564637541771,-0.141033798456192,-0.134753003716469,0.132920622825623,-0.056431025266647,0.084522396326065,-0.027512006461620,0.105724796652794,-0.298046916723251,-0.062958255410194,-0.169930770993233,-0.149544447660446) * MODEL1_texOff(vec2(0,0));
res += mat4(0.048824712634087,-0.105945490300655,0.131437063217163,-0.094494476914406,-0.199479192495346,-0.052337512373924,-0.057363055646420,0.038340341299772,-0.075079962611198,0.113228693604469,0.014410591684282,-0.040389779955149,-0.012120429426432,-0.179687857627869,0.047250840812922,-0.022557212039828) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.026692463085055,-0.023256499320269,0.059517849236727,0.038922734558582,0.070479497313499,0.068670652806759,-0.403222024440765,-0.061363425105810,0.124925754964352,0.098169676959515,-0.124861486256123,0.069805696606636,-0.095571234822273,0.029152702540159,0.087393321096897,0.017934452742338) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.152775138616562,0.091992139816284,0.044552050530910,0.033146765083075,0.141596347093582,0.088286444544792,0.005646752193570,-0.161722838878632,-0.138449937105179,0.077670760452747,-0.009203013963997,-0.061333179473877,0.117209613323212,0.177284255623817,-0.087080642580986,0.045479662716389) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.136607766151428,0.009641858749092,0.040044337511063,0.003436322556809,-0.070604272186756,0.123879149556160,-0.094831354916096,-0.010408104397357,0.020051270723343,0.061654239892960,-0.107414424419403,0.042912825942039,0.039280574768782,0.149584934115410,0.042121499776840,0.022340295836329) * MODEL1_texOff(vec2(1,1));
res += mat4(0.124564342200756,0.017043311148882,-0.081720016896725,0.058135189116001,0.074221260845661,0.016525892540812,-0.172306597232819,0.005835800431669,0.031137276440859,-0.100426986813545,0.071934267878532,0.021329205483198,0.127282530069351,0.018901666626334,-0.093383520841599,0.055833648890257) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.040202662348747,0.039662566035986,-0.116490378975868,0.000429454579717,-0.023842755705118,-0.044758640229702,-0.113988310098648,-0.001462160144001,0.130027636885643,-0.050217647105455,-0.185866624116898,0.186061546206474,-0.154001116752625,0.014449433423579,-0.049291525036097,0.157520905137062) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.032116323709488,0.094381846487522,0.262812793254852,-0.013415647670627,0.040116321295500,0.020331963896751,-0.071639634668827,-0.037729520350695,-0.043914470821619,-0.044478062540293,0.018510118126869,0.136204794049263,0.032968956977129,-0.050954490900040,-0.013568034395576,0.057140514254570) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.244659081101418,-0.009785446338356,0.261508971452713,0.044268604367971,-0.032899286597967,-0.062827564775944,0.132832378149033,0.033888339996338,0.116044148802757,0.088879778981209,0.015676442533731,0.035720158368349,0.295501172542572,-0.000080982019426,-0.419713377952576,-0.161389440298080) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.181340515613556,-0.176174148917198,-0.096814520657063,0.176541045308113,-0.162050426006317,0.113196536898613,-0.136258110404015,-0.014262433163822,0.268031746149063,-0.145447194576263,0.137636378407478,0.086306035518646,0.178379535675049,-0.550267338752747,0.284719169139862,-0.089988514780998) * MODEL2_texOff(vec2(0,0));
res += mat4(0.018205368891358,-0.198814854025841,-0.006200540810823,0.014854788780212,-0.046425465494394,0.090564064681530,0.156504333019257,-0.032662846148014,-0.040767051279545,0.160458222031593,-0.131816506385803,0.154138579964638,-0.071276977658272,-0.390495449304581,-0.175264582037926,0.102275587618351) * MODEL2_texOff(vec2(0,1));
res += mat4(0.114833913743496,-0.102925285696983,0.068758569657803,0.022160548716784,-0.073242679238319,0.010334215126932,0.070482037961483,0.031028980389237,-0.092223972082138,0.002932912204415,-0.037034951150417,-0.088980309665203,-0.039001002907753,0.004405786283314,-0.338282734155655,-0.160190343856812) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.086604781448841,-0.069550439715385,0.034218154847622,-0.058956243097782,-0.023490592837334,-0.031016707420349,-0.137062430381775,-0.021338649094105,-0.158086687326431,0.081647798418999,0.070442624390125,-0.030272668227553,0.221050038933754,-0.007910453714430,0.430342406034470,-0.265024155378342) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.070077240467072,-0.025256542488933,-0.148524343967438,-0.034517679363489,0.081536419689655,-0.060911994427443,-0.091985687613487,-0.028586758300662,-0.061744034290314,-0.026111878454685,0.004416445735842,-0.040571510791779,-0.219550386071205,-0.038254279643297,-0.222936078906059,0.127040311694145) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.140415772795677,0.036321632564068,0.046978015452623,0.021418085321784,0.129983559250832,-0.022024085745215,0.029921885579824,-0.017080318182707,0.030536431819201,-0.054319087415934,0.362809717655182,-0.088757686316967,-0.036574773490429,0.054744768887758,-0.119223043322563,0.066023670136929) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.127186447381973,0.207804128527641,0.025158334523439,-0.009480690583587,-0.000324623368215,-0.139101326465607,0.041367266327143,0.069724634289742,-0.027270132675767,0.027498522773385,-0.066785417497158,-0.034795660525560,-0.155868560075760,0.093222886323929,-0.028080541640520,-0.075075477361679) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.035617902874947,0.121828094124794,0.200033634901047,-0.024657139554620,-0.044275689870119,0.050687313079834,-0.182758614420891,0.082942090928555,-0.079328872263432,-0.044681556522846,0.172902747988701,0.063886746764183,0.022728530690074,0.084757775068283,0.129432022571564,-0.083756484091282) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.321172446012497,0.065806373953819,-0.140484154224396,-0.078093431890011,-0.261453449726105,0.109608814120293,0.077262140810490,-0.040477711707354,0.200536981225014,0.040589749813080,-0.129128381609917,-0.054129566997290,0.262820959091187,0.086886711418629,-0.219220116734505,-0.038282647728920) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.112670004367828,0.234053894877434,-0.143706470727921,-0.019239094108343,0.029465947300196,0.041200246661901,-0.119930133223534,0.074754469096661,-0.087167099118233,0.080863229930401,-0.112780921161175,0.084157824516296,0.174811258912086,-0.207204684615135,0.096527978777885,0.014035623520613) * MODEL3_texOff(vec2(0,0));
res += mat4(0.163133859634399,0.284061998128891,0.089881673455238,0.023244414478540,0.050670407712460,0.102599874138832,-0.083821266889572,-0.027800170704722,0.026743596419692,0.119057491421700,0.123192943632603,0.261471658945084,-0.018264269456267,-0.318876534700394,0.126496672630310,-0.169026672840118) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.027086820453405,-0.003221421735361,-0.244058132171631,0.055885367095470,-0.101137675344944,0.004479326773435,0.137338191270828,-0.019745035097003,-0.211765021085739,-0.043624661862850,-0.097229294478893,-0.029434949159622,0.028969619423151,-0.081333220005035,-0.010037302039564,0.034571968019009) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.002597137354314,-0.109156005084515,-0.017256215214729,0.039271786808968,0.007345760241151,0.051032233983278,0.020095089450479,0.017657501623034,0.016845090314746,0.023135108873248,0.008797124028206,-0.038245715200901,-0.018814144656062,0.249365314841270,-0.172835141420364,0.015364732593298) * MODEL3_texOff(vec2(1,0));
res += mat4(0.298326581716537,-0.133277818560600,-0.033646199852228,-0.026600711047649,0.007599000819027,0.056535251438618,-0.054459456354380,-0.002633904339746,-0.001156143844128,-0.029107674956322,-0.094175942242146,-0.028420139104128,0.135304331779480,0.006217632908374,0.044291883707047,-0.018242103978992) * MODEL3_texOff(vec2(1,1));
res += mat4(0.078578904271126,-0.194268181920052,0.165308192372322,-0.007391619961709,-0.263718724250793,0.034075878560543,0.151955679059029,-0.094846040010452,0.188640415668488,-0.005462903995067,-0.207733497023582,0.015493622049689,-0.079084508121014,-0.091877244412899,0.081175819039345,-0.001833194983192) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.111832298338413,-0.142347931861877,0.003692925209180,0.189666345715523,-0.144015341997147,0.008558903820813,0.154689475893974,-0.057390999048948,0.042342763394117,-0.043428305536509,0.017213745042682,-0.105121016502380,-0.085877478122711,-0.122759826481342,-0.130335643887520,0.040282774716616) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.085850596427917,-0.208705127239227,0.137078642845154,-0.042305953800678,-0.047781024128199,-0.149179115891457,-0.172997802495956,0.025062119588256,-0.054042216390371,-0.077851824462414,0.196818381547928,0.037898462265730,0.075742214918137,-0.095317475497723,0.123069234192371,0.068252153694630) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.242154642939568,0.118049114942551,-0.154180601239204,-0.110562175512314,0.258499503135681,0.035422835499048,0.050576310604811,-0.035459417849779,0.058339998126030,-0.070034340023994,0.204717293381691,0.038942728191614,-0.160186633467674,-0.084804549813271,0.179133728146553,0.060167372226715) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.068756118416786,0.509593188762665,-0.173606753349304,-0.433825254440308,0.152124926447868,0.201844692230225,0.257172077894211,-0.179373592138290,-0.185020714998245,-0.038193773478270,-0.252000212669373,0.251434832811356,-0.135721400380135,0.109015546739101,-0.123085223138332,-0.053671360015869) * MODEL4_texOff(vec2(0,0));
res += mat4(0.050570067018270,0.201499387621880,0.027757978066802,0.061841741204262,0.085645742714405,0.064299531280994,-0.105219520628452,0.037505913525820,-0.146560296416283,0.056361295282841,0.252444595098495,-0.027223089709878,-0.097913302481174,-0.071064159274101,0.114975757896900,-0.030816763639450) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.160541251301765,-0.047723673284054,0.142068028450012,-0.002292086370289,-0.183985114097595,0.017598019912839,0.039836913347244,-0.086046852171421,-0.293447256088257,0.013155888766050,-0.051142405718565,-0.012192523106933,0.037426568567753,-0.011030632071197,-0.037609461694956,-0.059177629649639) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.188071563839912,-0.149842351675034,0.075589954853058,0.301232486963272,-0.183723703026772,-0.043391205370426,-0.108914129436016,-0.020722143352032,-0.091260194778442,-0.163359671831131,0.025593211874366,-0.117047838866711,-0.602215766906738,-0.084623806178570,0.163343310356140,-0.102010689675808) * MODEL4_texOff(vec2(1,0));
res += mat4(0.051255915313959,-0.038590691983700,-0.063831090927124,0.083500497043133,-0.054176136851311,0.033804975450039,0.084647424519062,0.006802512332797,-0.080548316240311,-0.059904061257839,0.070679508149624,-0.146495997905731,-0.150291115045547,-0.059620119631290,-0.002469732891768,-0.149014383554459) * MODEL4_texOff(vec2(1,1));
res += mat4(0.036992367357016,0.129888251423836,0.068324163556099,0.055808998644352,-0.088062502443790,-0.209952712059021,0.242123335599899,-0.292532712221146,0.050111480057240,-0.202983990311623,0.055143896490335,0.033545162528753,-0.053562492132187,-0.025974893942475,-0.083888329565525,-0.000569072086364) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.174241378903389,-0.005484059918672,0.059308305382729,-0.083638586103916,-0.143679395318031,0.004828008823097,-0.147113770246506,0.247224375605583,-0.022281255573034,-0.024539712816477,-0.104487188160419,-0.021288441494107,-0.099443942308426,-0.115092858672142,-0.058646161109209,0.128900036215782) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.052118353545666,0.048539154231548,0.244296371936798,-0.008789742365479,0.083408743143082,-0.033196371048689,-0.068573787808418,-0.074929043650627,0.005845461506397,0.139773637056351,0.197041571140289,-0.084250472486019,0.122654579579830,-0.153214126825333,0.019470425322652,-0.047854248434305) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.315622627735138,-0.112603724002838,-0.063008345663548,-0.105840772390366,0.150897309184074,0.257830560207367,-0.003212026087567,-0.444725513458252,0.077547371387482,0.069389030337334,0.073959171772003,0.006288360338658,0.117286495864391,-0.027699269354343,-0.020198527723551,0.281208813190460) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.177800834178925,0.049081541597843,-0.020945638418198,0.027706885710359,0.181742101907730,0.062222167849541,0.014800268225372,0.495396465063095,0.037289969623089,0.008885205723345,0.005707654636353,0.030045745894313,0.156388908624649,0.267266064882278,-0.070871718227863,-0.405810564756393) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.055892102420330,0.052648186683655,0.135453104972839,0.020481899380684,-0.045631811022758,-0.036498412489891,0.020059265196323,-0.197665110230446,-0.079296767711639,-0.130642786622047,-0.012050145305693,-0.057769961655140,-0.132520854473114,0.055507577955723,-0.007530167698860,0.051629174500704) * MODEL5_texOff(vec2(0,1));
res += mat4(0.041878193616867,0.048875227570534,0.107382155954838,0.035743229091167,-0.108360588550568,-0.059975974261761,-0.102228693664074,-0.008065380156040,-0.164510056376457,-0.059501245617867,0.157916069030762,-0.094545312225819,-0.138485774397850,0.006073612719774,-0.035715270787477,-0.018778266385198) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.045130297541618,0.009277923963964,0.123201310634613,0.054276958107948,0.012470069341362,0.039930913597345,-0.048024911433458,-0.018302703276277,-0.027391044422984,-0.075617387890816,0.030288606882095,-0.045402485877275,0.036657810211182,0.005241345148534,-0.065766863524914,0.233155831694603) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.008596267551184,0.005790967959911,0.101863779127598,0.020718043670058,-0.014805426821113,0.086214147508144,0.117142468690872,0.071217909455299,0.017286324873567,0.000056783756008,-0.012960404157639,-0.003712509991601,0.049216240644455,-0.037001669406891,0.102760381996632,0.079864777624607) * MODEL5_texOff(vec2(1,1));
res += mat4(0.191857114434242,-0.000658585981000,-0.109228119254112,0.039226293563843,-0.048262018710375,0.147555261850357,0.073589406907558,0.018973920494318,0.069482132792473,-0.152631863951683,0.149434611201286,0.051051691174507,-0.126961067318916,0.121633268892765,-0.324974179267883,0.064095929265022) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.029254909604788,0.019910374656320,0.062087554484606,0.008153825998306,0.042927410453558,0.097004137933254,-0.125164598226547,0.065129764378071,0.081916376948357,-0.075254127383232,0.020146992057562,0.047279044985771,0.066339664161205,0.351111859083176,-0.019124757498503,-0.008460777811706) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.014051034115255,-0.014705608598888,0.092626951634884,0.009118780493736,0.080316327512264,0.151598215103149,0.001785237924196,-0.002053264295682,0.004499711096287,-0.021921563893557,0.107495479285717,-0.003339459421113,-0.071729421615601,0.268769979476929,0.060484696179628,-0.007913300767541) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.058164883404970,0.159793764352798,-0.695446431636810,0.028824029490352,0.136461585760117,0.017808975651860,0.063073404133320,-0.022022016346455,-0.070961855351925,-0.095181204378605,0.077677361667156,0.141648694872856,-0.044703122228384,-0.078587204217911,-0.832251727581024,0.051215026527643) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.033983312547207,0.335357367992401,0.294247478246689,0.002881511813030,-0.131582781672478,0.080696694552898,-0.046012192964554,0.193662509322166,-0.086582385003567,-0.109551340341568,-0.010979876853526,0.042081248015165,0.270981818437576,-0.047285974025726,-0.371410459280014,-0.041212871670723) * MODEL6_texOff(vec2(0,0));
res += mat4(0.048481568694115,0.028710685670376,-0.027182605117559,-0.013291944749653,0.080410063266754,0.004200134892017,0.001138671883382,0.079916365444660,0.026850853115320,0.067301496863365,0.018195323646069,0.010290566831827,0.006876262370497,-0.033811077475548,0.163459137082100,0.027240877971053) * MODEL6_texOff(vec2(0,1));
res += mat4(0.133267313241959,-0.133004814386368,-0.366526156663895,-0.157842308282852,0.034521974623203,-0.088055327534676,0.034527298063040,-0.004600715357810,-0.011062140576541,-0.051729112863541,-0.271594196557999,0.043937426060438,0.182678848505020,-0.036515053361654,-0.405799359083176,0.041103869676590) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.106411553919315,0.054458133876324,0.118828319013119,-0.205350086092949,-0.010559948161244,-0.172860845923424,-0.054873153567314,0.045209072530270,0.011657387949526,-0.065551161766052,-0.050743501633406,-0.007218672893941,0.131053477525711,0.032202199101448,-0.088995702564716,0.108721114695072) * MODEL6_texOff(vec2(1,0));
res += mat4(0.201980143785477,0.031602274626493,0.141255944967270,-0.079490177333355,-0.008142571896315,-0.153394579887390,-0.048133257776499,-0.013553799130023,0.095893330872059,-0.036640275269747,0.073794938623905,-0.026543566957116,-0.019481340423226,0.039252031594515,0.150266528129578,0.038948804140091) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.204302310943604,-0.176369920372963,0.002288637449965,0.829695403575897) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 6_4

vec4 hook()
{
vec4 res = vec4(0.051298957318068,0.180939167737961,-0.108238376677036,0.294232875108719);
res += mat4(-0.124505653977394,0.157066866755486,-0.050963502377272,0.074642039835453,-0.008050209842622,0.076316043734550,-0.046571694314480,0.034198347479105,-0.038445185869932,-0.273225575685501,0.048180375248194,-0.256918817758560,0.017223188653588,0.030078325420618,-0.058239508420229,-0.072988860309124) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.188180908560753,-0.002254520077258,-0.163453415036201,-0.035196013748646,-0.107743158936501,0.161453217267990,0.046662956476212,0.103900052607059,-0.271949321031570,0.311404943466187,0.133654892444611,0.019883617758751,0.103853739798069,-0.162834569811821,0.132535368204117,-0.114798612892628) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.223171442747116,-0.043444436043501,0.111011363565922,-0.116762734949589,-0.056099418550730,0.097570799291134,-0.031794082373381,0.017407299950719,-0.102353900671005,-0.165206536650658,-0.076784916222095,0.218235373497009,0.112670779228210,-0.392313122749329,-0.048418559134007,0.042057536542416) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.000833465193864,-0.079256512224674,0.138179585337639,-0.056371930986643,0.162290036678314,0.099531307816505,-0.004906495567411,-0.107987470924854,0.266320973634720,-0.189011394977570,0.184639453887939,0.116991616785526,-0.087618581950665,0.096823811531067,-0.037355303764343,-0.092969261109829) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.261886149644852,0.014599530957639,-0.134934484958649,0.204294726252556,0.146802783012390,-0.138375893235207,-0.039101827889681,0.008035914041102,0.166167870163918,0.093705289065838,-0.133509203791618,-0.442853748798370,0.166694119572639,0.165607377886772,0.149241894483566,0.131698071956635) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.001943931914866,0.017103400081396,-0.096861593425274,-0.079301863908768,0.066827163100243,-0.092817284166813,0.007540194317698,-0.109055079519749,0.037490867078304,-0.009388074278831,-0.180239751935005,0.043833274394274,-0.036446623504162,-0.231454983353615,-0.572326242923737,-0.034316170960665) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.084922477602959,0.337120652198792,0.001172810676508,0.035283841192722,0.270218431949615,-0.033892832696438,0.053834222257137,-0.048458326607943,0.133155792951584,-0.082459345459938,-0.039740730077028,-0.076046824455261,0.012009580619633,0.078221797943115,-0.035631526261568,-0.002319552469999) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.091902926564217,-0.039144940674305,0.001204253756441,0.330206304788589,0.280825644731522,-0.203824728727341,0.035397283732891,0.029642621055245,0.017931099981070,0.146283194422722,-0.118387714028358,-0.309872359037399,-0.038645762950182,0.100093312561512,-0.027552850544453,0.038355972617865) * MODEL1_texOff(vec2(1,0));
res += mat4(0.023876827210188,-0.031854033470154,-0.061036340892315,0.001817153184675,0.035684902220964,-0.000024951401429,-0.072701923549175,-0.125195786356926,-0.069811545312405,-0.064197994768620,0.036596830934286,0.246942713856697,-0.087699770927429,0.034526959061623,-0.048196405172348,-0.078957371413708) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.028056852519512,-0.330545902252197,0.070123694837093,0.034658268094063,0.205507695674896,-0.230511277914047,0.060604229569435,-0.039788257330656,-0.029454283416271,0.000733496563043,0.015518329106271,-0.090901955962181,0.004716518800706,-0.038436602801085,-0.030067861080170,-0.094779342412949) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.299741089344025,-0.065266706049442,-0.114558823406696,-0.164685428142548,-0.196315780282021,-0.199495643377304,-0.105642773211002,-0.013475527055562,-0.087295614182949,-0.002623170847073,-0.000362318649422,0.186686426401138,-0.088322520256042,0.055207267403603,-0.064281038939953,0.039048284292221) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.226043492555618,0.226809337735176,0.032801415771246,-0.209650665521622,-0.374428868293762,0.320705443620682,0.051211826503277,-0.088118001818657,-0.079764448106289,0.204713791608810,-0.259669542312622,-0.004334583878517,0.026383373886347,-0.119854345917702,-0.078066438436508,0.024471718817949) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.093294441699982,-0.412089347839355,0.102737039327621,0.247717440128326,0.057352580130100,-0.058800209313631,0.129289299249649,-0.024232685565948,0.147040054202080,-0.071668475866318,-0.078294329345226,-0.012489087879658,-0.076476775109768,0.001080584828742,-0.170320585370064,-0.049596782773733) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.116490364074707,-0.395774543285370,0.120992325246334,-0.553713500499725,-0.026213286444545,-0.359749644994736,-0.171966239809990,0.011160625144839,0.374349087476730,-0.402205049991608,0.204994022846222,0.176457986235619,-0.220101311802864,-0.289635926485062,0.158874124288559,0.048789113759995) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.057753290981054,0.155240565538406,0.164476335048676,-0.474765479564667,0.039388187229633,0.193382471799850,-0.063365131616592,-0.318146109580994,-0.115632958710194,0.155607163906097,-0.024936806410551,-0.240293189883232,-0.027747273445129,0.086350090801716,-0.338590353727341,0.028738053515553) * MODEL2_texOff(vec2(0,1));
res += mat4(0.045300647616386,-0.334069013595581,0.041812840849161,0.033281236886978,0.099413447082043,0.077706433832645,-0.051301408559084,0.034387364983559,-0.085851512849331,0.112515062093735,-0.066593430936337,-0.050356488674879,-0.032978545874357,0.059469707310200,0.146074891090393,0.086717732250690) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.004301035776734,-0.171916112303734,0.055662535130978,-0.371794641017914,0.177405789494514,-0.209150552749634,-0.122263364493847,0.217155039310455,0.025653515011072,-0.124710857868195,0.022348433732986,0.252534031867981,-0.030970154330134,-0.037290919572115,-0.017474111169577,0.072458490729332) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.188296422362328,0.026755722239614,0.066318802535534,-0.512128233909607,-0.089126624166965,-0.011791849508882,-0.131185024976730,-0.255556881427765,-0.120730943977833,-0.006751275621355,0.033541604876518,-0.004976746160537,-0.042800698429346,0.006007283460349,-0.005771468859166,0.131230220198631) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.112957179546356,0.031512346118689,-0.036653500050306,0.154598027467728,-0.059902906417847,0.044796984642744,0.013782723806798,0.027355466037989,0.028620747849345,0.095527447760105,-0.024693733081222,-0.023614013567567,0.042466200888157,-0.060384519398212,-0.061848402023315,0.053230516612530) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.201654210686684,-0.030297676101327,0.289646953344345,-0.031773872673512,0.066918611526489,0.045956701040268,0.047007981687784,-0.083452410995960,0.168843552470207,-0.241233348846436,0.042801972478628,0.075226828455925,-0.061854671686888,-0.125127568840981,0.095378436148167,0.018835349008441) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.029988383874297,0.176500648260117,0.003781871637329,0.268202096223831,0.100275337696075,0.004421601537615,-0.058651458472013,-0.156585007905960,-0.077278889715672,0.140007078647614,0.121054396033287,0.071707531809807,-0.119342826306820,0.032623305916786,0.079541839659214,-0.001993042882532) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.054247841238976,0.063411034643650,0.112941317260265,0.140754923224449,-0.054372306913137,-0.138444066047668,0.036756053566933,-0.128120288252831,0.057494185864925,0.016672462224960,-0.010869708843529,0.127957910299301,0.134510889649391,-0.057934146374464,0.050604060292244,0.041479256004095) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.175421074032784,0.155342891812325,-0.229411408305168,0.114062592387199,0.039046045392752,0.167851552367210,-0.300245493650436,0.146201625466347,-0.084875658154488,-0.059143502265215,-0.121845342218876,0.084757484495640,0.082901649177074,0.046363539993763,0.001256228773855,0.221973031759262) * MODEL3_texOff(vec2(0,0));
res += mat4(0.038487475365400,0.132334932684898,-0.082881473004818,0.146694302558899,-0.302412360906601,0.110373042523861,0.045904342085123,-0.327270716428757,-0.034402582794428,0.217354848980904,0.231589421629906,-0.280588954687119,0.152612879872322,0.070692621171474,-0.212385043501854,-0.053536411374807) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.031826693564653,0.037898130714893,-0.035436965525150,0.099378101527691,0.086879156529903,-0.059323098510504,0.007999392226338,0.027966493740678,-0.076794557273388,-0.159900262951851,-0.016591802239418,0.093457557260990,0.163587212562561,0.016752522438765,0.085853911936283,0.097253777086735) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.250595599412918,0.144309446215630,-0.024364741519094,0.358598768711090,-0.015794971957803,-0.125461816787720,0.071183234453201,-0.066648058593273,0.018391557037830,-0.080284714698792,0.100028067827225,0.084607116878033,0.026065278798342,0.009905045852065,-0.158340662717819,0.079175911843777) * MODEL3_texOff(vec2(1,0));
res += mat4(0.055903941392899,-0.191424787044525,-0.006752318702638,0.107208706438541,0.120907552540302,-0.066124103963375,-0.030233960598707,0.007554444950074,-0.111006759107113,0.059864278882742,0.076506882905960,-0.147916465997696,0.101396225392818,0.085269443690777,-0.191827833652496,0.109886668622494) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.062840029597282,0.121348895132542,0.091150537133217,-0.031961951404810,-0.101863600313663,0.087555229663849,-0.129796057939529,0.206329256296158,0.032015588134527,-0.011763044632971,-0.002069311449304,0.085713185369968,-0.026492765173316,-0.146171152591705,0.119197919964790,0.091554194688797) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.075614839792252,-0.101953357458115,-0.140048637986183,0.042666740715504,0.099882610142231,-0.087804473936558,-0.045734524726868,-0.246638625860214,-0.062522470951080,0.072019793093204,0.038766212761402,0.140206962823868,-0.018461262807250,-0.107478030025959,-0.003256467636675,0.019571103155613) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.168713137507439,-0.011105190962553,-0.074075870215893,-0.082226142287254,-0.081424288451672,0.107088766992092,0.036512322723866,-0.248874127864838,-0.057602431625128,0.069731697440147,-0.028623403981328,-0.049628850072622,-0.050700139254332,-0.128682672977448,0.019170517101884,0.045669715851545) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.106121242046356,-0.008949967101216,0.029497345909476,-0.062456849962473,-0.206721708178520,-0.075541839003563,-0.168770894408226,-0.034059006720781,0.069635771214962,-0.009011955931783,-0.059501972049475,-0.123026855289936,-0.043792221695185,-0.087024293839931,0.026096392422915,0.080607019364834) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.309781700372696,-0.029737062752247,-0.236402690410614,0.055282391607761,-0.169558241963387,0.037335693836212,0.164836600422859,-0.735149681568146,0.013192450627685,-0.241389080882072,0.043747104704380,-0.095832534134388,0.060875982046127,-0.235006675124168,0.085484676063061,-0.035627890378237) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.101194955408573,-0.057282257825136,0.192845419049263,-0.010646580718458,-0.259243160486221,0.130269110202789,0.120221376419067,-0.352294385433197,-0.256701707839966,0.044824127107859,0.313379526138306,-0.036008380353451,0.140591606497765,-0.101106129586697,-0.079830147325993,0.144614532589912) * MODEL4_texOff(vec2(0,1));
res += mat4(0.088293500244617,-0.023990008980036,-0.020037688314915,-0.027308577671647,0.040777087211609,-0.002258702181280,-0.041358262300491,0.080565460026264,0.113841868937016,0.060634393244982,0.061538208276033,-0.103778228163719,0.011203492991626,-0.089890994131565,-0.072798147797585,0.026687854900956) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.180216282606125,0.018819764256477,0.055029109120369,-0.071728974580765,0.007617279887199,-0.115004815161228,0.006855805870146,-0.455221563577652,0.139609366655350,-0.094935595989227,-0.066660672426224,0.025047732517123,-0.160463303327560,-0.140096366405487,0.089415997266769,-0.129690900444984) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.053376238793135,-0.045919153839350,-0.011090118438005,0.086632922291756,0.119462855160236,-0.078735537827015,0.054255761206150,-0.308527946472168,-0.131258964538574,0.003969591576606,-0.102894477546215,-0.175583228468895,0.000165746852872,0.135007396340370,0.072468146681786,0.057300437241793) * MODEL4_texOff(vec2(1,1));
res += mat4(0.391206085681915,-0.141310080885887,0.034053929150105,-0.052332438528538,0.045439470559359,0.101613402366638,-0.131756857037544,-0.125129610300064,-0.140498712658882,-0.248335555195808,-0.005868070758879,0.165455535054207,0.026016620919108,-0.195033863186836,-0.013702192343771,-0.090076915919781) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.027549099177122,0.249097436666489,0.285491347312927,-0.216317355632782,0.204451590776443,-0.368915438652039,-0.078037351369858,-0.304744005203247,-0.444685697555542,0.135058075189590,0.167089357972145,-0.443081915378571,-0.074359111487865,0.258937448263168,-0.045194618403912,-0.070076987147331) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.069506235420704,0.133678838610649,0.042128559201956,-0.080875813961029,0.060400299727917,-0.211911976337433,0.119199134409428,0.006524831522256,0.044654604047537,0.119621656835079,0.046840507537127,0.015936437994242,-0.047796022146940,-0.190341249108315,0.050279375165701,-0.030525501817465) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.125109538435936,-0.214689418673515,0.145909041166306,-0.065436974167824,-0.145414069294930,0.245307326316833,-0.141386419534683,-0.035638701170683,0.018257362768054,-0.122735433280468,0.082046300172806,0.032138716429472,-0.215285137295723,0.013628932647407,-0.222740456461906,0.010003061965108) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.031046390533447,-0.088974505662918,0.125677093863487,-0.042977839708328,-0.487648725509644,0.113636396825314,0.387106269598007,0.033807702362537,-0.176521763205528,0.145544931292534,0.160967126488686,-0.210078507661819,-0.100753836333752,0.055374979972839,0.072391860187054,0.075065053999424) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.088866330683231,0.071098320186138,-0.081410266458988,-0.202144294977188,0.016360269859433,-0.082547843456268,-0.106122478842735,0.392977476119995,0.036279119551182,0.161094263195992,0.034710034728050,-0.181575939059258,-0.079331323504448,0.326836556196213,-0.066766664385796,-0.038648713380098) * MODEL5_texOff(vec2(0,1));
res += mat4(0.104839310050011,-0.025481393560767,0.172007352113724,-0.059105113148689,0.122157603502274,0.050619553774595,-0.025603450834751,-0.014658844098449,0.016513090580702,-0.156839475035667,0.061515983194113,0.207345277070999,0.106093779206276,-0.052179377526045,-0.010176850482821,0.200651079416275) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.032541051506996,0.010078711435199,0.015706313773990,0.095739625394344,0.051756214350462,0.062354292720556,0.105062350630760,-0.079855673015118,0.096613287925720,-0.010511963628232,0.068500831723213,-0.298884004354477,0.092956013977528,-0.174286767840385,-0.118566930294037,0.164362624287605) * MODEL5_texOff(vec2(1,0));
res += mat4(0.037688814103603,-0.088775634765625,-0.122934743762016,0.097563408315182,0.109141543507576,-0.082013681530952,-0.176758408546448,0.209698632359505,0.039362382143736,0.165608868002892,0.002931234193966,-0.284129887819290,0.053244974464178,-0.102672189474106,-0.195536106824875,-0.016965504735708) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.034202903509140,0.122925095260143,-0.036887157708406,0.042509827762842,-0.026200357824564,-0.113352127373219,-0.040427621454000,0.011874360032380,0.108284227550030,0.007262972649187,-0.021992493420839,-0.068278394639492,0.005629307124764,-0.003847053973004,-0.060819789767265,0.070689886808395) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.028643261641264,0.139575660228729,-0.026066953316331,0.038107652217150,0.139786317944527,-0.103356994688511,0.062734968960285,0.068357773125172,-0.080723665654659,0.052089463919401,0.079655475914478,-0.098274514079094,-0.093278646469116,0.036534816026688,0.165235564112663,0.063855260610580) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.052639242261648,0.320758938789368,-0.157960221171379,0.104163527488708,-0.050037376582623,0.168938428163528,-0.158314570784569,0.096975088119507,-0.086055368185043,0.122164674103260,-0.078238777816296,0.069215856492519,-0.001013679313473,0.112813130021095,-0.084118977189064,0.072677150368690) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.164347797632217,-0.066744096577168,-0.044362939894199,0.114176087081432,0.003406903939322,-0.136840254068375,0.076810017228127,0.081614412367344,-0.109148845076561,0.166996315121651,-0.019722551107407,0.110943816602230,0.045548699796200,-0.135142505168915,0.053639039397240,0.138470217585564) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.226653829216957,-0.041692588478327,0.172585636377335,0.025097280740738,0.151669040322304,-0.099891386926174,0.028743116185069,-0.010098046623170,-0.070260621607304,-0.163674756884575,0.009374279528856,0.072290480136871,-0.057833209633827,-0.256864458322525,0.221074253320694,-0.087663315236568) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.016219355165958,0.014134962111712,-0.231050550937653,0.034343585371971,-0.055185906589031,0.143204510211945,-0.074018210172653,-0.148179605603218,-0.092183925211430,0.130260661244392,-0.103967741131783,0.065024718642235,-0.115527048707008,-0.049676876515150,-0.233965799212456,-0.014225305989385) * MODEL6_texOff(vec2(0,1));
res += mat4(0.127078205347061,-0.147035658359528,0.039929412305355,0.180247589945793,-0.028474228456616,-0.197765365242958,0.061358001083136,-0.072041630744934,0.059763845056295,0.030894674360752,-0.037391990423203,-0.081018477678299,0.066981807351112,-0.075587391853333,-0.001313515589572,0.089868776500225) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.037739716470242,-0.165341556072235,0.059636540710926,0.066362455487251,0.028595220297575,-0.185360535979271,0.004762434400618,-0.037736926227808,0.083284839987755,0.094597756862640,-0.343854367733002,-0.209779635071754,-0.059277717024088,-0.148409053683281,0.149935200810432,0.004514412488788) * MODEL6_texOff(vec2(1,0));
res += mat4(0.008700510486960,-0.336842507123947,-0.082962200045586,-0.164666280150414,0.009001991711557,0.050425551831722,0.068259134888649,-0.018307717517018,0.042859882116318,0.088783904910088,0.105888545513153,-0.110434874892235,-0.063284136354923,-0.155477777123451,-0.106943890452385,0.046199429780245) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.379857569932938,-0.010089394636452,-0.337788164615631,-0.026037652045488) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 6_5

vec4 hook()
{
vec4 res = vec4(0.022786041721702,-0.071462802588940,-0.138244196772575,-0.002154176589102);
res += mat4(0.111641056835651,-0.115947850048542,0.173994243144989,0.132680565118790,-0.072076082229614,-0.045885227620602,-0.169871777296066,-0.111414544284344,0.121220223605633,0.000935560732614,-0.124903924763203,-0.193840935826302,0.128780364990234,0.028450179845095,0.095228008925915,0.100676372647285) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.234911561012268,0.051551856100559,-0.116806536912918,0.069537229835987,-0.157778099179268,0.054026030004025,-0.043655239045620,0.033508084714413,-0.103449136018753,-0.026254352182150,-0.075342662632465,-0.156496748328209,-0.030520817264915,0.005119272973388,0.123048119246960,-0.134344294667244) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.012239611707628,0.050178926438093,-0.018507884815335,-0.256979674100876,-0.021832708269358,-0.088714338839054,-0.063995763659477,0.199838116765022,0.045857738703489,-0.024541534483433,-0.000273675745120,0.106027707457542,0.136596575379372,0.020978180691600,0.039184022694826,-0.151525646448135) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.059148922562599,0.006150999572128,0.198650151491165,-0.098345182836056,0.085375376045704,-0.047585327178240,-0.191331446170807,0.154532387852669,-0.105981446802616,0.379482418298721,-0.318131804466248,-0.520807981491089,-0.193973600864410,-0.170531526207924,0.091875031590462,0.043643705546856) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.064847990870476,0.065074615180492,0.167225450277328,0.062240548431873,0.159771546721458,-0.089669540524483,-0.039774138480425,0.218552947044373,0.018619528040290,0.085388883948326,-0.042116634547710,0.127974674105644,-0.338813930749893,-0.326513677835464,0.516664266586304,-0.037793714553118) * MODEL1_texOff(vec2(0,0));
res += mat4(0.161111921072006,-0.028664419427514,-0.084744364023209,-0.144151940941811,-0.014498810283840,0.024500923231244,-0.045778226107359,0.034019507467747,0.007249711547047,0.141947716474533,0.056460525840521,0.420151323080063,0.105011463165283,0.180806934833527,-0.020635377615690,-0.299430698156357) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.234659999608994,-0.010760631412268,0.092108659446239,-0.143325105309486,-0.200526639819145,-0.153694421052933,0.032897513359785,0.098146773874760,-0.122884698212147,0.184370145201683,0.013830096460879,0.025875950232148,0.092823848128319,-0.034008234739304,0.008679221384227,-0.048799838870764) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.142641052603722,0.175086900591850,-0.026585482060909,-0.063581630587578,-0.122883088886738,0.136909127235413,-0.045496281236410,0.177898600697517,0.049391720443964,-0.104918770492077,-0.009265514090657,0.065606318414211,0.013709152117372,0.028022127225995,-0.203738242387772,0.003691254183650) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.014482508413494,-0.023458844050765,0.074373707175255,0.160219222307205,-0.019891347736120,-0.084973119199276,0.014948215335608,0.150627613067627,0.020670158788562,0.013234053738415,-0.001263577025384,-0.196261033415794,0.150088548660278,0.000650811998639,0.014396901242435,0.154380023479462) * MODEL1_texOff(vec2(1,1));
res += mat4(0.083246521651745,-0.050293143838644,-0.113210372626781,0.032579600811005,-0.047486688941717,0.005987409502268,-0.091706000268459,-0.117805026471615,0.080623537302017,-0.084161870181561,0.008130609989166,0.004454460460693,0.054076027125120,0.096882902085781,0.022364756092429,0.043902352452278) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.100783087313175,0.035728923976421,0.149811610579491,0.060067027807236,0.003633844899014,-0.180019825696945,0.078706331551075,-0.079210095107555,-0.207221239805222,0.135617569088936,0.135742083191872,0.093667946755886,0.006946817040443,-0.008130140602589,0.011885901913047,-0.200364783406258) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.016215227544308,-0.155319511890411,0.060801558196545,-0.102561324834824,0.015846803784370,-0.068454258143902,-0.003029769053683,-0.237176463007927,-0.203803777694702,0.034190867096186,-0.051226563751698,0.180737629532814,0.027629025280476,0.046661127358675,-0.128462642431259,-0.009450029581785) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.091205082833767,0.133959174156189,-0.283896297216415,-0.064981207251549,0.118728160858154,0.203666090965271,-0.120817728340626,-0.113864623010159,-0.096334256231785,-0.009670482948422,0.090616822242737,0.121857732534409,-0.145599752664566,-0.044505972415209,-0.014597264118493,0.130282610654831) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.360535174608231,0.019821314141154,0.188769310712814,0.255224138498306,-0.132920011878014,0.077662244439125,0.257458835840225,-0.030522275716066,0.009694453328848,0.155638620257378,-0.384786933660507,-0.080293677747250,-0.079752266407013,-0.050034455955029,-0.323378860950470,-0.213467746973038) * MODEL2_texOff(vec2(0,0));
res += mat4(0.016080411151052,-0.172164872288704,0.028606345877051,-0.150871321558952,0.112103253602982,-0.083618320524693,-0.131620988249779,0.023512052372098,-0.134130150079727,0.077412396669388,0.140666171908379,0.210215806961060,-0.201920270919800,0.003619468770921,-0.059816662222147,0.222012206912041) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.037180256098509,0.236478537321091,-0.016743618994951,-0.114042788743973,0.037211582064629,-0.006098488345742,-0.124440066516399,-0.058286897838116,-0.046245992183685,-0.091436125338078,-0.100045129656792,-0.046134151518345,-0.043801620602608,-0.062673307955265,0.034446820616722,0.050839360803366) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.211135834455490,0.136640518903732,-0.007934277877212,0.108301721513271,0.001989069394767,0.180729165673256,0.070175334811211,-0.036407183855772,0.174015358090401,0.372275710105896,-0.063441477715969,0.026718460023403,-0.100127153098583,-0.041266907006502,-0.124511659145355,-0.066013008356094) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.065106555819511,-0.077481672167778,0.030332213267684,0.107137754559517,0.060387991368771,-0.091079011559486,-0.039405398070812,-0.247715055942535,0.001086992444471,0.013893094845116,0.122860163450241,0.019079636782408,0.013012751936913,0.040128383785486,-0.010478110983968,0.089430689811707) * MODEL2_texOff(vec2(1,1));
res += mat4(0.111063711345196,-0.097029507160187,-0.083334341645241,-0.009818096645176,-0.094425782561302,-0.017434772104025,-0.146381288766861,-0.063796244561672,0.131142660975456,0.046543024480343,-0.185135230422020,0.139884456992149,-0.123466953635216,0.055634003132582,0.176163822412491,-0.027206042781472) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.084290876984596,-0.044478952884674,-0.192747324705124,-0.071448281407356,-0.156307846307755,0.115772560238838,0.084558308124542,-0.033169068396091,0.423200458288193,-0.044170867651701,-0.334477722644806,0.113140553236008,0.194613799452782,-0.119735881686211,0.120948426425457,-0.065267451107502) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.008255533874035,-0.006736043840647,-0.037010721862316,-0.047487858682871,0.049733705818653,-0.087014965713024,-0.014288961887360,0.153074607253075,0.222782626748085,0.237038999795914,-0.035816326737404,0.019026374444366,0.127232611179352,-0.041512794792652,0.005628929007798,-0.117491073906422) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.140962854027748,0.007802344858646,0.152386963367462,-0.027074236422777,0.300637751817703,-0.056103423237801,0.131077021360397,0.032243512570858,0.020201368257403,-0.057145066559315,0.012377877719700,0.015563637949526,-0.126719355583191,0.102067857980728,-0.146354228258133,0.016344010829926) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.053261186927557,-0.053573578596115,-0.105981014668941,0.045424699783325,-0.040920134633780,-0.308942496776581,-0.268435686826706,-0.156647652387619,-0.000758792215493,0.059611666947603,0.012713154777884,0.198328599333763,0.112673178315163,0.120881170034409,-0.033216107636690,-0.072852656245232) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.095915630459785,0.104983933269978,0.034353241324425,-0.191966369748116,-0.011535326018929,0.073169410228729,0.071237027645111,0.029386324808002,0.016388406977057,0.005530594848096,0.004159096628428,0.001938309753314,0.171622157096863,-0.046286948025227,-0.081812068820000,0.073028109967709) * MODEL3_texOff(vec2(0,1));
res += mat4(0.135085463523865,0.026150634512305,0.052354149520397,-0.047980807721615,0.197669386863708,-0.138047516345978,0.092848986387253,0.023833574727178,0.097651392221451,0.021054659038782,-0.038890670984983,-0.052016273140907,-0.039530359208584,0.244390204548836,0.070308431982994,0.041140571236610) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.102439105510712,-0.092651851475239,0.120523311197758,-0.016849966719747,0.045586351305246,-0.072289519011974,-0.012408428825438,0.034568659961224,-0.049173757433891,0.142359972000122,0.078129760921001,-0.057014465332031,0.294791042804718,-0.196489244699478,-0.039602514356375,-0.006419573444873) * MODEL3_texOff(vec2(1,0));
res += mat4(0.004938102327287,-0.006006308365613,-0.124983198940754,-0.140159472823143,-0.030685780569911,0.154248997569084,0.108119070529938,-0.045286092907190,0.107517354190350,-0.051109910011292,-0.050132628530264,-0.054199118167162,-0.024399235844612,0.173362523317337,0.014674597419798,0.034563921391964) * MODEL3_texOff(vec2(1,1));
res += mat4(0.005052730906755,-0.067538477480412,0.283915728330612,-0.061383925378323,0.065501250326633,-0.036560986191034,0.100441247224808,0.032031793147326,0.040691826492548,0.005944917909801,-0.177013754844666,-0.134579658508301,0.016783630475402,-0.043364875018597,0.054236419498920,0.084797345101833) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.050653569400311,0.124014392495155,0.180772334337234,-0.035510145127773,0.090499021112919,-0.009882298298180,-0.381478875875473,0.138053834438324,-0.023576598614454,0.104865349829197,-0.070555649697781,0.087665505707264,-0.144807592034340,0.057203460484743,-0.042451675981283,0.140376359224319) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.015196721069515,0.129129827022552,-0.036555465310812,0.121041893959045,0.010104061104357,0.092204555869102,-0.080332063138485,0.245603650808334,0.097459137439728,-0.030440287664533,-0.013849325478077,0.152902230620384,-0.084759823977947,0.096086606383324,0.066789507865906,-0.150179743766785) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.166653215885162,0.030082633718848,-0.172423541545868,0.067178167402744,-0.098883680999279,0.107832998037338,0.155604496598244,0.259592622518539,0.204763814806938,0.253782629966736,-0.167472362518311,-0.108690522611141,-0.102291107177734,-0.045325472950935,-0.000516057480127,0.172631248831749) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.285680413246155,-0.098567113280296,-0.010837771929801,0.226498380303383,0.124328091740608,0.151060551404953,-0.314165413379669,0.224365949630737,-0.019859470427036,-0.042336244136095,0.031331218779087,-0.072333604097366,-0.139375403523445,-0.070943765342236,-0.033942900598049,0.166747972369194) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.132413610816002,0.104892387986183,0.097736753523350,-0.306285738945007,-0.015777228400111,0.168445467948914,-0.000068737674155,0.129716396331787,0.082154281437397,-0.174014389514923,0.020220318809152,-0.105911843478680,0.137999340891838,-0.048987317830324,0.211085185408592,-0.024412743747234) * MODEL4_texOff(vec2(0,1));
res += mat4(0.093002408742905,0.195056691765785,0.045400951057673,0.121985197067261,0.004219043534249,-0.030792692676187,0.217600494623184,0.079688563942909,-0.084218680858612,-0.153762176632881,0.181174755096436,0.002501924755052,-0.235182344913483,0.197799131274223,0.046947188675404,-0.029031049460173) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.056049741804600,-0.057667788118124,0.255581766366959,-0.019540155306458,0.134900376200676,-0.051827792078257,0.048901673406363,-0.068036951124668,-0.224489465355873,0.106011688709259,0.204579412937164,-0.375265181064606,0.206348046660423,-0.065224155783653,0.033093780279160,-0.102839104831219) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.048989240080118,0.035940825939178,0.079877600073814,0.020456470549107,-0.038796890527010,0.131705030798912,-0.001463240594603,-0.062566086649895,0.243639886379242,-0.103814430534840,-0.055960148572922,-0.182218566536903,0.095849536359310,-0.119485899806023,-0.042601410299540,-0.092270419001579) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.051956783980131,0.040983948856592,-0.092997893691063,0.105312481522560,0.115748837590218,0.006454053334892,0.166693836450577,0.219132348895073,0.092467673122883,-0.083684250712395,-0.135572880506516,0.099809780716896,-0.108898200094700,0.109959118068218,-0.090983666479588,0.171788737177849) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.026924967765808,-0.035611495375633,-0.075333788990974,0.145323321223259,0.113752797245979,-0.044750697910786,0.053412057459354,0.139864087104797,-0.005164703819901,0.007340069394559,0.292735278606415,0.127200216054916,-0.044423222541809,-0.075681559741497,-0.133962959051132,-0.103725090622902) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.007221016101539,0.023245435208082,0.007101493421942,0.168435230851173,0.052197888493538,0.004898012150079,0.049843315035105,-0.214937955141068,-0.009686652570963,-0.128714919090271,0.024454090744257,-0.274329543113708,0.075833290815353,-0.101718060672283,0.038324918597937,-0.208182781934738) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.104544870555401,-0.083286345005035,0.236799418926239,0.168035462498665,-0.160399571061134,-0.493760049343109,0.115373082458973,0.112598367035389,0.208691522479057,0.163032010197639,0.028061255812645,0.028274284675717,-0.019936118274927,0.101905547082424,-0.128297418355942,0.155336603522301) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.023287951946259,-0.046943530440331,0.024765979498625,0.191980555653572,-0.089906230568886,0.271322458982468,0.127134397625923,-0.236442387104034,0.093960419297218,0.136443436145782,0.217792317271233,0.104598723351955,0.353566050529480,-0.070435352623463,-0.265025168657303,-0.234168082475662) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.086522467434406,-0.048112362623215,-0.039137788116932,0.078639872372150,0.124771125614643,0.027777045965195,-0.057828340679407,0.084289915859699,0.031329210847616,-0.183423861861229,-0.084492608904839,-0.127992302179337,0.017219096422195,-0.110592566430569,-0.056003142148256,0.176722824573517) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.034055750817060,0.138074904680252,0.035460617393255,0.134254857897758,-0.062642432749271,-0.179445743560791,0.094626873731613,-0.211105436086655,0.080426707863808,0.081682011485100,0.154207244515419,-0.089792340993881,-0.355562061071396,-0.040157075971365,0.193419679999352,-0.178770273923874) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.060855366289616,-0.074532561004162,-0.144778281450272,0.076164022088051,0.068468108773232,0.050740480422974,-0.152741372585297,0.001845045713708,-0.004296842962503,-0.056125547736883,-0.024916825816035,0.039613895118237,0.058663092553616,0.055754818022251,0.043472934514284,-0.287890702486038) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.011975788511336,0.050431590527296,0.021082812920213,0.032884579151869,-0.005918838083744,-0.012293389998376,-0.029303362593055,0.091874137520790,-0.064509443938732,-0.089002475142479,-0.027289031073451,-0.011973422951996,-0.118056543171406,0.023438310250640,0.103420898318291,-0.010935462079942) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.023027297109365,-0.011392943561077,0.172663629055023,-0.033290561288595,-0.179016202688217,-0.006006665062159,0.040150694549084,0.029916925355792,-0.194154947996140,-0.008927294984460,0.145571649074554,0.045798622071743,-0.054001260548830,-0.034181348979473,-0.039607752114534,-0.025443159043789) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.005110205616802,0.113308094441891,0.040992714464664,-0.013718178495765,-0.084676094353199,0.033782474696636,-0.009733369573951,-0.020126432180405,-0.246813699603081,0.006036045029759,0.157665550708771,0.039300370961428,-0.038565617054701,-0.050589408725500,-0.163194343447685,-0.008797817863524) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.005288023501635,0.019000515341759,-0.058906868100166,0.035148769617081,-0.190586254000664,0.085048988461494,0.035551127046347,-0.021174956113100,-0.169686540961266,-0.045065253973007,0.065964244306087,-0.032555408775806,-0.043901823461056,-0.040017440915108,-0.009627159684896,0.011008880101144) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.178510263562202,0.137377634644508,-0.135697379708290,0.036335073411465,-0.388791501522064,-0.207606509327888,0.198919743299484,0.046084914356470,-0.456818699836731,0.002498573157936,-0.035384587943554,-0.095277398824692,-0.099885806441307,-0.089340470731258,-0.272636651992798,-0.169545799493790) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.068407021462917,-0.019331762567163,-0.174858927726746,-0.159204632043839,-0.435411840677261,0.108589045703411,-0.032324578613043,-0.084582924842834,-0.217926010489464,0.133240401744843,0.178679153323174,0.022534050047398,-0.057432997971773,0.026653457432985,-0.277341991662979,0.064693458378315) * MODEL6_texOff(vec2(0,0));
res += mat4(0.000957408803515,0.051927950233221,-0.059408508241177,-0.118295028805733,-0.229510277509689,0.089616008102894,0.173981219530106,0.067139342427254,-0.139130488038063,0.011342152021825,0.001140356645919,-0.014526249840856,-0.005402834154665,-0.010830763727427,0.005574234761298,0.022362805902958) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.168789401650429,-0.023958019912243,-0.109412565827370,-0.231997087597847,-0.252285897731781,-0.210928127169609,0.129967138171196,-0.041458915919065,0.295718103647232,-0.304356545209885,0.039642963558435,0.053022086620331,-0.156032294034958,-0.058950968086720,-0.022372644394636,-0.107359208166599) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.144580572843552,0.055961422622204,-0.051799252629280,0.027244292199612,-0.143033266067505,0.033190794289112,0.007269557099789,0.035858880728483,-0.175671428442001,0.174285739660263,0.034652508795261,-0.231202632188797,-0.190846845507622,0.099464647471905,0.147231563925743,0.135273322463036) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.023337934166193,-0.020458271726966,-0.186167642474174,-0.235863685607910,-0.190366402268410,-0.015655128285289,0.129785701632500,-0.108364708721638,-0.135638788342476,0.039846386760473,0.049183409661055,-0.115283109247684,-0.024799963459373,-0.094981558620930,0.048444677144289,0.110653012990952) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.128089815378189,-0.016389794647694,0.147331774234772,0.029940875247121) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 6_6

vec4 hook()
{
vec4 res = vec4(0.124359674751759,0.131041660904884,-0.041001088917255,0.371018826961517);
res += mat4(0.160552784800529,0.062676317989826,-0.135411709547043,0.022973682731390,0.007057513110340,0.089523486793041,0.119938172399998,0.018503887578845,-0.039188187569380,-0.262316346168518,-0.012680033221841,-0.165805250406265,0.032504681497812,-0.022329563274980,-0.132915273308754,-0.077291660010815) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.119686059653759,-0.011193030513823,0.085518695414066,0.248270437121391,0.018863363191485,-0.091043956577778,0.213175833225250,-0.066678635776043,-0.035677727311850,0.069083400070667,0.051434095948935,0.105327263474464,-0.012574058957398,-0.201321363449097,-0.220513015985489,0.161696508526802) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.094843767583370,-0.143440917134285,-0.145474508404732,0.084490753710270,0.019220191985369,-0.092256128787994,0.200614288449287,-0.025338266044855,0.016414489597082,0.057073984295130,0.182359859347343,0.027941320091486,0.102710165083408,0.047352075576782,-0.119221962988377,-0.048924054950476) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.044146183878183,-0.082857690751553,-0.082448117434978,0.169628873467445,-0.210295230150223,0.068553499877453,0.200675085186958,0.038416184484959,-0.765336632728577,-0.053573239594698,-0.197884872555733,0.037314079701900,0.102532401680946,0.004051941912621,-0.090289436280727,-0.124485708773136) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.032523021101952,0.055019676685333,0.012512425892055,0.095689490437508,-0.083976224064827,0.027804272249341,0.225310698151588,0.080615542829037,0.073621325194836,-0.066775396466255,0.031216274946928,0.003909749444574,0.217282861471176,0.197377100586891,-0.030642658472061,0.391493260860443) * MODEL1_texOff(vec2(0,0));
res += mat4(0.096016213297844,0.050515130162239,0.026847403496504,-0.108567453920841,0.113875009119511,-0.340873032808304,0.177099019289017,-0.132258847355843,-0.027991605922580,0.004576648585498,0.034555885940790,0.084170818328857,0.000912373128813,0.126653403043747,-0.025281168520451,0.189346104860306) * MODEL1_texOff(vec2(0,1));
res += mat4(0.059840735048056,-0.033540505915880,-0.012371832504869,0.199025645852089,-0.040994033217430,0.132638618350029,0.189584955573082,-0.066065788269043,0.022948319092393,0.098256707191467,0.109095737338066,0.008785717189312,-0.009423516690731,-0.042966261506081,-0.086405239999294,-0.008382944390178) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.024531636387110,0.097270943224430,0.197291418910027,0.027089348062873,0.050342813134193,0.074561104178429,0.255123406648636,-0.253567874431610,0.136065557599068,-0.108352102339268,-0.115576095879078,0.020628519356251,-0.172677084803581,0.028727272525430,0.194626703858376,-0.180583104491234) * MODEL1_texOff(vec2(1,0));
res += mat4(0.069640353322029,0.153074100613594,0.131162822246552,-0.024931732565165,0.128048196434975,-0.001214336603880,-0.088857308030128,-0.003023486817256,0.035339087247849,-0.117450967431068,-0.061058998107910,0.032516397535801,0.037104383111000,0.079208895564079,0.062372066080570,-0.055767759680748) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.070960946381092,-0.115101084113121,-0.044510398060083,0.125728935003281,-0.043257296085358,0.014220481738448,-0.064319454133511,0.055023878812790,-0.039360798895359,0.176407739520073,0.166829720139503,0.073397144675255,-0.032147333025932,0.121189191937447,0.115910328924656,0.011436783708632) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.142841041088104,-0.034893136471510,0.083967365324497,-0.035922132432461,-0.228459432721138,-0.096531234681606,-0.074791975319386,0.017637476325035,-0.283657550811768,-0.016304837539792,0.248952805995941,0.168138161301613,0.079554952681065,0.106608971953392,0.198319941759109,0.199937164783478) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.026628853753209,-0.053387079387903,0.020399788394570,-0.159777626395226,-0.014096942730248,0.001109415898100,-0.005812708288431,-0.020509861409664,-0.002289651194587,-0.409943938255310,0.216683849692345,0.183942735195160,-0.064259789884090,-0.062178410589695,-0.014696839265525,0.017969060689211) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.435572206974030,0.031948350369930,-0.055982567369938,-0.089464083313942,-0.246678471565247,0.244784891605377,-0.131462946534157,0.284192919731140,0.068812958896160,0.005681634414941,-0.000861007953063,-0.009901791810989,0.086729966104031,-0.229244008660316,0.096216283738613,-0.082244999706745) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.000306621019263,0.084277845919132,-0.350705802440643,-0.168679580092430,-0.177473157644272,-0.036572150886059,-0.170457392930984,0.035675574094057,-0.306334972381592,0.344668805599213,-0.175264954566956,-0.173406556248665,0.130310058593750,0.111350879073143,-0.079246491193771,-0.097558692097664) * MODEL2_texOff(vec2(0,0));
res += mat4(0.150313243269920,0.027614293619990,0.074122264981270,-0.105145625770092,0.194900915026665,-0.137841925024986,-0.113173536956310,-0.244858577847481,0.062704183161259,-0.031921807676554,-0.198971211910248,-0.157088801264763,-0.006207088008523,-0.238184809684753,0.073232918977737,0.100978098809719) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.029690114781260,0.125408187508583,-0.121003314852715,0.046462848782539,-0.041145648807287,0.086171232163906,-0.009505075402558,0.150938481092453,-0.032208047807217,-0.213037252426147,-0.029101397842169,0.008784906938672,0.144561186432838,-0.004166499711573,0.041288722306490,0.129706397652626) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.016158586367965,0.061886910349131,0.043655522167683,0.127809330821037,-0.178075209259987,-0.093200400471687,-0.215265110135078,0.087053053081036,-0.173032253980637,0.130165189504623,-0.070068955421448,0.010622572153807,-0.073065765202045,0.164519399404526,0.057990804314613,-0.073512136936188) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.019748901948333,0.109271898865700,-0.123589985072613,0.017883103340864,0.086112387478352,-0.033261001110077,0.019654178991914,-0.020974079146981,-0.011497167870402,-0.054187908768654,0.084272675216198,0.006226373370737,-0.102098904550076,-0.144064441323280,0.014071404002607,0.128830224275589) * MODEL2_texOff(vec2(1,1));
res += mat4(0.097237892448902,-0.026528906077147,0.215774551033974,0.016987562179565,-0.049537137150764,0.005718627944589,-0.107685297727585,-0.048613112419844,0.040937498211861,0.033606510609388,0.049457244575024,-0.066239230334759,-0.051352601498365,-0.077864117920399,0.111463643610477,0.053985584527254) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.170702606439590,-0.220342695713043,0.129471510648727,0.003837091382593,-0.014261975884438,0.145644068717957,-0.333916068077087,-0.105550915002823,0.196149334311485,0.009992339648306,0.099343501031399,-0.103751830756664,0.000358847231837,-0.117938697338104,0.163295418024063,0.027988776564598) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.025605585426092,-0.108086019754410,0.033368617296219,0.100053027272224,0.064330562949181,-0.172503843903542,0.097347639501095,0.171276330947876,-0.002186780562624,-0.081027746200562,0.064895682036877,0.006507562473416,0.041354149580002,0.023257765918970,-0.018917402252555,-0.085403144359589) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.073575280606747,0.305565446615219,-0.041196681559086,-0.191277518868446,0.209394842386246,0.048753354698420,0.010288845747709,-0.133934020996094,0.071628093719482,0.074289001524448,0.130703642964363,0.022737734019756,-0.147048935294151,-0.101306349039078,-0.058067813515663,0.031270131468773) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.225718349218369,-0.050334718078375,-0.032748959958553,-0.173120632767677,0.462778210639954,-0.162981480360031,0.211174398660660,-0.007670836988837,-0.090914085507393,-0.063815951347351,0.183495923876762,-0.083304516971111,-0.062207311391830,-0.175976857542992,-0.238173156976700,-0.007127287331969) * MODEL3_texOff(vec2(0,0));
res += mat4(0.096554696559906,0.081476286053658,-0.080489285290241,-0.056256439536810,-0.359800934791565,0.098634809255600,-0.040026519447565,0.113537728786469,-0.197879314422607,-0.112716406583786,0.177596032619476,0.125199198722839,0.155836850404739,-0.035847716033459,-0.012339513748884,-0.137408107519150) * MODEL3_texOff(vec2(0,1));
res += mat4(0.087743513286114,0.203328266739845,-0.412361711263657,0.044780887663364,0.118960119783878,0.036274779587984,-0.076536349952221,-0.129581272602081,-0.135917916893959,0.133083343505859,-0.051958777010441,0.028996439650655,-0.239361122250557,0.039515193551779,-0.154411971569061,0.046095885336399) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.000144216566696,-0.116110868752003,-0.210867851972580,-0.005244689062238,0.102173149585724,-0.063221581280231,-0.008451510220766,-0.180744171142578,-0.063079610466957,-0.009995437227190,-0.007933083921671,-0.016937436535954,0.182227626442909,-0.022909559309483,0.226230159401894,0.122129067778587) * MODEL3_texOff(vec2(1,0));
res += mat4(0.001700740191154,0.012737143784761,0.024554461240768,-0.138515785336494,-0.108608029782772,-0.016432467848063,-0.024622980505228,0.014702960848808,-0.059116333723068,-0.169824376702309,-0.075249463319778,-0.133946016430855,-0.011779861524701,0.205395504832268,-0.163847938179970,-0.048819847404957) * MODEL3_texOff(vec2(1,1));
res += mat4(0.027078242972493,0.106305308640003,0.017581917345524,-0.001467208378017,-0.064606279134750,0.155881151556969,0.193148225545883,0.141184955835342,0.002530813915655,-0.000060971979110,-0.051047399640083,0.022897610440850,-0.025425301864743,0.006369124166667,0.118503756821156,0.107286222279072) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.129089921712875,-0.010747199878097,-0.119494944810867,0.212569743394852,0.007548789493740,0.011005651205778,-0.033757578581572,-0.064338773488998,-0.064511194825172,-0.089211389422417,0.257734358310699,-0.214016765356064,-0.024125069379807,0.032693665474653,0.128994047641754,0.056143566966057) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.075482994318008,0.087184689939022,-0.120800018310547,-0.028890857473016,0.011121258139610,-0.157719448208809,-0.084176488220692,0.147757291793823,0.044657424092293,-0.075920879840851,0.042555723339319,-0.099647067487240,-0.059715788811445,-0.162171095609665,-0.037902470678091,0.010916277766228) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.069273807108402,0.326279252767563,0.068876877427101,0.096341259777546,0.420646131038666,0.123191073536873,0.084064595401287,0.032231051474810,-0.086689427495003,-0.079971581697464,0.133235618472099,0.082173116505146,-0.134189918637276,-0.017320306971669,-0.007622453384101,0.097797207534313) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.287172794342041,-0.155713140964508,0.279967844486237,-0.025231059640646,-0.188521862030029,0.069335192441940,0.039367668330669,-0.344625711441040,-0.134811326861382,-0.302242398262024,0.223484918475151,-0.042044553905725,-0.093454428017139,0.248476654291153,0.001591584063135,-0.003024736186489) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.033913381397724,0.135548934340477,-0.135084480047226,0.050274346023798,-0.201464235782623,0.115835562348366,-0.086915254592896,0.219649359583855,0.037760525941849,-0.048976197838783,-0.163337051868439,-0.150248050689697,0.051878444850445,-0.016989598050714,0.016665494069457,0.091286964714527) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.044453285634518,0.071818076074123,-0.067584641277790,-0.093842104077339,-0.016011510044336,-0.203742384910583,-0.059784960001707,0.012356130406260,-0.012944010086358,-0.116670459508896,0.135083153843880,-0.032580580562353,-0.052000530064106,-0.031736314296722,-0.120029076933861,0.053649947047234) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.195702061057091,-0.138104319572449,-0.056749064475298,0.094551987946033,-0.036205224692822,-0.005697024054825,-0.094205081462860,0.004675495903939,0.044135529547930,-0.094027601182461,0.028297387063503,0.241097688674927,-0.134541779756546,0.016674874350429,-0.164040341973305,-0.135528549551964) * MODEL4_texOff(vec2(1,0));
res += mat4(0.069353103637695,0.038380615413189,0.039645176380873,0.087204098701477,-0.052707422524691,-0.035396438091993,0.058372773230076,0.094638943672180,-0.209934547543526,-0.059448823332787,-0.072798743844032,-0.023144364356995,0.095848090946674,-0.064322896301746,0.030571330338717,0.045912738889456) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.171736463904381,-0.084902942180634,-0.016228042542934,-0.031091971322894,0.086722716689110,0.145560219883919,0.078930467367172,0.010015064850450,-0.146813064813614,-0.120773576200008,-0.122937999665737,0.073437601327896,-0.193361610174179,0.153310507535934,0.167319461703300,0.053413812071085) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.041554272174835,-0.138372495770454,-0.170272454619408,-0.271918773651123,0.051090370863676,0.004834411665797,0.025357956066728,0.102766931056976,-0.137196511030197,0.109814576804638,0.109384670853615,0.019203184172511,-0.025747438892722,-0.069152660667896,-0.110132180154324,0.033419441431761) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.096779271960258,-0.149334445595741,-0.075356028974056,-0.016200546175241,-0.061639461666346,0.073235154151917,-0.119689844548702,0.080556549131870,0.083449974656105,0.051052257418633,-0.083106867969036,-0.089719712734222,0.051780577749014,0.167652755975723,0.077460870146751,0.023223714902997) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.158050343394279,0.054259013384581,-0.131920173764229,-0.163460522890091,0.492318183183670,-0.182412400841713,-0.085940562188625,-0.093204982578754,-0.222347676753998,0.187000796198845,0.063072010874748,0.014036981388927,-0.083629220724106,-0.017980447039008,-0.098460033535957,0.082886867225170) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.013230743817985,-0.270614117383957,-0.084047451615334,-0.074126973748207,-0.535039186477661,0.150788351893425,-0.032755553722382,0.151564285159111,-0.289039194583893,0.296176522970200,-0.323070257902145,-0.060116279870272,0.218726187944412,-0.073876045644283,-0.007789785042405,-0.038808465003967) * MODEL5_texOff(vec2(0,0));
res += mat4(0.056142717599869,0.001403870759532,-0.029331959784031,-0.028432823717594,-0.024212313815951,0.069649159908295,-0.072936803102493,0.023165680468082,-0.009399469941854,0.015384618192911,0.108210414648056,-0.096678279340267,-0.134317159652710,-0.110188759863377,-0.131205022335052,0.132943496108055) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.004350873641670,0.289723664522171,-0.056380551308393,0.017502140253782,0.091756671667099,-0.169812753796577,0.145521134138107,-0.138795286417007,-0.197548151016235,0.221869349479675,-0.180004760622978,0.040827505290508,-0.029852256178856,0.065665505826473,-0.077470637857914,0.032401435077190) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.036354761570692,0.001038348651491,-0.169174477458000,-0.013092922046781,-0.029503123834729,-0.185987234115601,0.120297431945801,0.102254204452038,-0.004608948715031,0.230884939432144,0.121881626546383,0.005509211216122,-0.089521072804928,0.023513348773122,0.010148966684937,-0.081124216318130) * MODEL5_texOff(vec2(1,0));
res += mat4(0.042097359895706,0.001527554471977,-0.133700832724571,0.069844722747803,0.013167724013329,-0.010269324295223,0.100194655358791,-0.025657929480076,0.013280144892633,0.116352118551731,-0.073852136731148,0.004025741945952,-0.085672423243523,0.039368841797113,-0.145130604505539,-0.090126194059849) * MODEL5_texOff(vec2(1,1));
res += mat4(0.011159008368850,-0.002629987895489,-0.035948701202869,-0.017414845526218,0.026420401409268,0.027619274333119,0.155986458063126,0.089924015104771,-0.036320563405752,0.129385858774185,0.059656742960215,0.206343427300453,0.002380564576015,0.052514825016260,0.195699125528336,0.022772597149014) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.022726017981768,0.247566834092140,0.019651783630252,-0.045054007321596,0.047947287559509,0.013790622353554,-0.005559744313359,0.152618944644928,-0.100587703287601,0.074094928801060,0.049863509833813,0.101619675755501,0.132757857441902,-0.349688559770584,0.182929128408432,-0.050432693213224) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.099046185612679,-0.026430968195200,0.004454637877643,0.025146618485451,0.019389459863305,-0.009471531026065,0.106000132858753,0.108239501714706,-0.076079986989498,-0.009776584804058,0.010506801307201,0.067039474844933,0.030811369419098,-0.370317727327347,0.076673559844494,0.035209268331528) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.240845605731010,0.177064687013626,0.272436827421188,-0.153330489993095,0.093978755176067,0.006722798105329,-0.006909055169672,-0.072968870401382,-0.203093722462654,-0.043016489595175,-0.186097994446754,0.135968297719955,-0.134456932544708,-0.090713717043400,0.161143526434898,-0.072879016399384) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.106429286301136,-0.424412310123444,0.313417434692383,-0.242497280240059,-0.058681990951300,0.185863181948662,0.059166483581066,0.052059438079596,-0.103826195001602,-0.167346730828285,-0.100225768983364,0.120534956455231,-0.124428980052471,-0.845457613468170,0.142964690923691,-0.737036287784576) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.109832353889942,0.185050114989281,-0.067138336598873,-0.062602587044239,-0.123580411076546,-0.088514715433121,-0.030805740505457,0.050736859440804,0.055732507258654,-0.011462417431176,-0.048406817018986,0.082917474210262,0.131310984492302,-0.646770060062408,-0.026802141219378,-0.180488720536232) * MODEL6_texOff(vec2(0,1));
res += mat4(-0.008688016794622,0.187460109591484,-0.049530778080225,-0.275323569774628,-0.044197186827660,0.043668784201145,0.100072868168354,-0.082262128591537,0.335096359252930,-0.207929015159607,0.018146554008126,0.076984398066998,-0.085146784782410,0.205603912472725,0.028952619060874,-0.118544176220894) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.039636317640543,-0.014427881687880,0.068575151264668,-0.350780069828033,0.028461182489991,0.013968937098980,-0.059981554746628,-0.021498395130038,0.047730367630720,0.003851626068354,0.135061770677567,0.075414434075356,0.167616635560989,-0.060188952833414,-0.074393376708031,-0.234232351183891) * MODEL6_texOff(vec2(1,0));
res += mat4(0.067266315221786,0.127042964100838,0.012118324637413,-0.196282312273979,-0.067498393356800,-0.128432527184486,-0.008966221474111,0.047606654465199,-0.068687386810780,0.087354175746441,-0.085176140069962,-0.013992186635733,0.130195826292038,-0.094389311969280,-0.160511806607246,-0.116792924702168) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.256112128496170,0.065735451877117,0.153580576181412,0.246947139501572) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL1
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 7_1

vec4 hook()
{
vec4 res = vec4(-0.054443269968033,-0.150031670928001,0.057600371539593,-0.083221912384033);
res += mat4(0.048423614352942,0.067618012428284,-0.071741521358490,-0.058918729424477,0.204885318875313,0.078132227063179,-0.151666343212128,0.010693897493184,0.160938128829002,0.054849095642567,-0.120788127183914,-0.026469163596630,0.015279176644981,-0.165482640266418,0.069899715483189,-0.175111755728722) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.019859528169036,0.071414805948734,0.198791444301605,-0.095800891518593,-0.112144850194454,-0.049306575208902,0.203961566090584,0.029728021472692,-0.074002154171467,-0.039787851274014,-0.180340826511383,-0.097537837922573,0.016971450299025,0.175799340009689,0.017872957512736,0.132163017988205) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.060030683875084,0.066638074815273,-0.072438031435013,0.079285793006420,0.044665083289146,-0.234562680125237,-0.041932437568903,0.018397908657789,0.171963810920715,0.012693253345788,0.043308362364769,0.066766649484634,0.108142279088497,0.041396066546440,-0.028130728751421,0.057232759892941) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.044086802750826,0.019532559439540,-0.113972112536430,-0.065542623400688,0.008115065284073,-0.141883805394173,-0.099461697041988,0.027198061347008,-0.003087147604674,-0.168762356042862,0.191696137189865,-0.090398162603378,0.254077523946762,-0.115469843149185,-0.250321090221405,0.041265830397606) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.231290772557259,0.315755724906921,0.029229300096631,0.105893157422543,-0.259643167257309,-0.157131955027580,0.258993446826935,0.150189161300659,0.178332135081291,0.174507468938828,-0.108856104314327,0.229700580239296,0.000182925010449,-0.188916414976120,0.093488380312920,-0.035696741193533) * MODEL7_texOff(vec2(0,0));
res += mat4(0.017085408791900,0.040997587144375,-0.153954699635506,-0.151628464460373,0.178227081894875,-0.188125371932983,-0.170688092708588,-0.037056088447571,-0.097902908921242,-0.021972183138132,0.221956148743629,-0.048507660627365,-0.045236915349960,-0.027590015903115,-0.183372944593430,-0.037205908447504) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.094287060201168,-0.017984570935369,-0.039113942533731,-0.155483126640320,0.065027289092541,-0.119432471692562,-0.065700009465218,-0.126793399453163,0.038890101015568,0.051756009459496,0.015055094845593,0.076571173965931,-0.064017795026302,-0.078998580574989,-0.143804430961609,-0.111407957971096) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.075533621013165,-0.035634350031614,0.080867096781731,0.009174499660730,0.012169232591987,0.204537332057953,-0.082457527518272,-0.069220170378685,-0.071448475122452,-0.113557323813438,-0.119986511766911,-0.219044238328934,0.034713648259640,0.048254661262035,-0.058747913688421,0.042221136391163) * MODEL7_texOff(vec2(1,0));
res += mat4(0.058800224214792,0.175353452563286,-0.051395311951637,-0.116686984896660,-0.011386715807021,0.034067392349243,0.068720430135727,0.041906263679266,0.024320797994733,-0.116405002772808,-0.022651819512248,-0.117828801274300,0.066785953938961,-0.006470718886703,0.051750417798758,0.104154072701931) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.088914297521114,0.147057846188545,-0.164435938000679,0.137381523847580,-0.023977378383279,0.024785311892629,-0.017275506630540,-0.059542350471020,0.169064626097679,-0.004440325312316,-0.022362511605024,0.018144184723496,0.051496189087629,-0.047673646360636,0.053638223558664,-0.020851731300354) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.107250645756721,0.054077897220850,-0.127320051193237,0.001420433749445,-0.044483877718449,0.010757069103420,-0.020805474370718,-0.015233080834150,0.045575331896544,-0.168858438730240,0.093643181025982,-0.120080821216106,0.074053667485714,0.047366101294756,-0.211144864559174,0.050624374300241) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.118170015513897,-0.055407874286175,-0.059716451913118,-0.012027781456709,-0.067824803292751,-0.008552202023566,0.004088428802788,-0.017067613080144,-0.005223582033068,0.014289313927293,-0.169087752699852,-0.058715660125017,-0.003437308827415,0.005265380721539,-0.094161197543144,0.004257185384631) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.030984487384558,0.056108526885509,0.004020851571113,0.107452943921089,0.012746821157634,-0.025370532646775,0.078556217253208,0.022338552400470,0.143019571900368,0.040901809930801,0.171067953109741,0.064696162939072,0.129760965704918,-0.053015336394310,-0.098137579858303,-0.068810679018497) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.008691807277501,0.135193496942520,-0.077372424304485,-0.104086771607399,0.158768281340599,-0.475455611944199,-0.436880439519882,0.079542070627213,0.041307110339403,0.165566936135292,-0.250113844871521,0.186788097023964,0.206711009144783,0.258128911256790,0.056462042033672,-0.147921666502953) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.178986802697182,0.131391927599907,0.097127914428711,0.040175497531891,0.040290307253599,0.050437808036804,0.119369201362133,0.040171504020691,0.067384526133537,-0.004373972304165,-0.109206050634384,0.120367728173733,0.018141690641642,0.007542701903731,-0.078302785754204,0.051834199577570) * MODEL8_texOff(vec2(0,1));
res += mat4(0.068229801952839,-0.053050100803375,0.007674844004214,-0.053701207041740,-0.179911047220230,-0.006257904693484,0.035017840564251,-0.060064405202866,-0.059400718659163,-0.042809423059225,0.023987194523215,-0.067283347249031,-0.005085801240057,0.013146049343050,-0.006290787365288,0.124581545591354) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.173722639679909,0.102891504764557,-0.066852308809757,0.098864063620567,-0.249617934226990,0.058087904006243,-0.091147541999817,-0.424144983291626,0.109716333448887,-0.015352867543697,-0.096020892262459,-0.200513496994972,-0.045816164463758,-0.174880743026733,-0.074746355414391,0.097035840153694) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.207257941365242,0.176960572600365,0.012299692258239,0.042817961424589,-0.056585982441902,0.077243812382221,0.027154477313161,-0.072570189833641,0.091577038168907,0.041214447468519,-0.024577477946877,-0.037975173443556,-0.029884982854128,0.036344941705465,-0.016523731872439,-0.016894966363907) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.171861186623573,0.150614649057388,-0.061067823320627,-0.022521862760186,0.095972999930382,-0.063471704721451,-0.060359634459019,-0.093939565122128,0.039296183735132,0.019261822104454,-0.048350885510445,0.009028586558998,0.041147898882627,0.011350666172802,-0.092422500252724,-0.052123814821243) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.163528785109520,0.023185715079308,0.100277237594128,-0.104973264038563,0.001382477581501,-0.034687176346779,0.090432666242123,-0.161319270730019,-0.141361355781555,0.023748777806759,0.180226370692253,0.013586550951004,0.073025219142437,-0.067757882177830,0.149568036198616,-0.051811173558235) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.336744844913483,-0.011470933444798,0.034210354089737,-0.020029511302710,-0.144205018877983,0.009551347233355,-0.066070660948753,-0.007766548544168,0.338822275400162,-0.126481622457504,0.120983123779297,-0.027515074238181,-0.079362273216248,-0.072067022323608,0.008613796904683,-0.110675916075706) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.078066758811474,0.064649783074856,0.098813302814960,0.052484925836325,-0.329387962818146,0.053213912993670,-0.101931601762772,0.018861949443817,0.019092038273811,0.030491067096591,0.156650558114052,0.034997116774321,-0.216973721981049,0.150758832693100,0.157957479357719,0.153840795159340) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.205976083874702,0.199869483709335,-0.019760390743613,0.126216694712639,-0.289947092533112,0.173709332942963,-0.065715700387955,0.358543455600739,0.198550924658775,0.022261245176196,-0.164013877511024,-0.018712554126978,-0.247454583644867,-0.010232533328235,0.170217320322990,0.354269176721573) * MODEL9_texOff(vec2(0,0));
res += mat4(0.036238558590412,0.325341165065765,-0.138115435838699,0.079899683594704,-0.029787428677082,-0.013399361632764,-0.085619464516640,-0.068112842738628,-0.074915930628777,-0.112990625202656,-0.001437923405319,-0.057652454823256,0.009035263210535,-0.034243628382683,-0.232557892799377,0.035692192614079) * MODEL9_texOff(vec2(0,1));
res += mat4(0.067501619458199,-0.037934180349112,0.013954783789814,-0.044803746044636,0.007297238335013,0.006740399170667,-0.069042071700096,0.136810213327408,-0.021877450868487,0.036949802190065,-0.003133030142635,0.018173269927502,-0.040893223136663,0.019840909168124,0.053835365921259,-0.040752228349447) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.105719856917858,0.157463863492012,0.045470483601093,0.207309827208519,0.153051599860191,0.141194492578506,-0.128326594829559,0.012080546468496,-0.091860219836235,-0.030423229560256,0.093976020812988,-0.066027991473675,-0.034553710371256,-0.078217737376690,-0.198483780026436,-0.268458276987076) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.041416287422180,-0.052391063421965,-0.007540553342551,0.248718276619911,-0.005969111807644,-0.055409837514162,0.089848242700100,-0.026772178709507,0.024692088365555,-0.180132016539574,-0.139571636915207,-0.065981172025204,-0.048889845609665,0.033135868608952,-0.050842285156250,0.024133915081620) * MODEL9_texOff(vec2(1,1));
res += mat4(0.007743946742266,-0.063712634146214,0.059935990720987,-0.141735568642616,-0.012344621121883,-0.020314006134868,0.101419009268284,0.037595275789499,-0.065181516110897,0.020288961008191,0.077810145914555,0.074404485523701,0.081714324653149,-0.092855498194695,-0.088187828660011,-0.068065956234932) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.121299065649509,0.146160423755646,-0.092225246131420,0.098223514854908,0.239347308874130,0.037608843296766,-0.070649243891239,0.141113668680191,-0.099982336163521,0.092713057994843,0.114579178392887,0.042618863284588,0.068773269653320,0.014902830123901,-0.045654248446226,0.095461055636406) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.025394253432751,-0.050775658339262,-0.003922671079636,0.015506272204220,0.065389975905418,0.027000632137060,-0.075127489864826,0.105925530195236,-0.030933845788240,-0.002294578822330,0.060579884797335,0.002266716212034,0.243402317166328,0.172349169850349,-0.060878869146109,0.128767892718315) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.099677279591560,0.127733260393143,0.097799889743328,0.089153259992599,0.025641007348895,0.095518328249454,-0.134554550051689,0.086116231977940,-0.034325819462538,-0.246487811207771,0.087981276214123,-0.156777486205101,-0.039330944418907,0.171999469399452,0.008396550081670,0.146975114941597) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.267056584358215,-0.161125198006630,-0.068372912704945,-0.053174447268248,0.143999576568604,-0.049120690673590,-0.049672011286020,0.046921759843826,0.156419798731804,-0.106857590377331,-0.099251240491867,-0.059589218348265,0.036452356725931,-0.181141138076782,-0.175576597452164,-0.127222150564194) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.046850405633450,-0.040397234261036,0.165849924087524,0.032090421766043,0.071042485535145,-0.034941405057907,-0.001071368344128,0.066769234836102,-0.053577311336994,0.164513871073723,0.034432183951139,0.090252317488194,-0.099820040166378,0.056838419288397,0.000095870353107,0.056686718016863) * MODEL10_texOff(vec2(0,1));
res += mat4(0.083620443940163,-0.010512999258935,0.008633273653686,0.273707121610641,0.012427596375346,0.096371158957481,-0.111945785582066,-0.135346308350563,-0.123114094138145,0.036824040114880,0.115142770111561,-0.154992029070854,-0.008748707361519,-0.066550828516483,-0.168602034449577,0.040340226143599) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.138283222913742,0.072745174169540,-0.052646793425083,0.055300362408161,-0.355823516845703,-0.108523711562157,-0.077158287167549,-0.061154015362263,0.093494266271591,0.220457971096039,0.078237138688564,0.193809747695923,-0.094158701598644,0.065187044441700,-0.214031025767326,0.016265107318759) * MODEL10_texOff(vec2(1,0));
res += mat4(0.167703211307526,-0.061874307692051,-0.127489119768143,-0.143056064844131,-0.030813684687018,-0.011613902635872,-0.067008301615715,-0.054170314222574,0.075481243431568,-0.046646036207676,-0.073902383446693,-0.011980163864791,0.025423357263207,0.012135320343077,0.130509361624718,0.012331388890743) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.010822589509189,-0.022489765658975,-0.058564748615026,-0.024903474375606,0.084354504942894,-0.120572663843632,0.022602938115597,0.033280339092016,-0.009113204665482,-0.022271770983934,-0.083246603608131,0.066212140023708,-0.086568534374237,-0.028147211298347,0.005016981624067,-0.051175490021706) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.171526402235031,0.091382041573524,0.047735124826431,0.033210955560207,0.044237710535526,-0.070854134857655,0.072984054684639,0.053675156086683,-0.109130494296551,-0.046153813600540,0.361783981323242,-0.033461820334196,-0.045590579509735,-0.038715392351151,0.260732322931290,-0.087569512426853) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.179234832525253,0.067347981035709,-0.000577206024900,0.041854884475470,0.113191880285740,-0.117626428604126,-0.120449788868427,0.190450355410576,-0.205168604850769,-0.065212592482567,0.020579038187861,0.031316332519054,-0.018650926649570,0.011757848784328,0.071362361311913,0.001848571584560) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.067255325615406,0.026690661907196,-0.101845256984234,-0.035432785749435,0.034674961119890,0.043509274721146,-0.029556933790445,-0.031662166118622,0.054605942219496,-0.017360229045153,0.074895747005939,0.025246784090996,-0.102642536163330,-0.013069518841803,0.217718973755836,0.085206411778927) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.088918447494507,0.143986567854881,-0.225650653243065,0.003933442756534,-0.110258758068085,0.014844631776214,0.202661573886871,0.254193097352982,0.105596736073494,-0.081238351762295,-0.074949175119400,0.150419533252716,0.011261764913797,0.090477265417576,0.226522937417030,0.152969583868980) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.138962119817734,-0.294686943292618,-0.072828009724617,0.025193477049470,0.221481442451477,0.047350447624922,0.038335394114256,-0.250425547361374,0.285080403089523,-0.337132185697556,-0.071570143103600,0.081631883978844,0.166524544358253,-0.074703380465508,-0.121472954750061,-0.156051993370056) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.009468875825405,-0.017689248546958,0.055240895599127,-0.005044214893132,0.003768391907215,0.009300235658884,-0.049379073083401,-0.003586713690311,0.059580575674772,0.022342087700963,0.023031871765852,0.105760186910629,-0.025948561728001,-0.032771851867437,0.137470439076424,-0.043087989091873) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.077662460505962,-0.044905118644238,0.133397549390793,0.195754453539848,-0.005165888927877,-0.035720914602280,0.013657256029546,-0.158764854073524,-0.161854356527328,0.068823896348476,0.055648725479841,-0.036628790199757,-0.030584491789341,-0.001277443021536,0.115774348378181,-0.269716352224350) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.005756984930485,-0.080432914197445,0.051851108670235,0.132491797208786,-0.087172724306583,-0.016586476936936,-0.066021971404552,0.005709047894925,-0.065026916563511,0.015059818513691,0.013719701208174,-0.043316029012203,-0.017064580693841,-0.033729087561369,0.060979735106230,0.013418328016996) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.119356960058212,-0.048338226974010,0.201210916042328,0.203609108924866,0.173543587327003,-0.015206047333777,-0.016369841992855,0.141810983419418,0.060255359858274,-0.051676321774721,-0.032202765345573,-0.017638109624386,0.051650512963533,-0.062163427472115,-0.055365227162838,0.058014836162329) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.056688085198402,0.082701802253723,-0.095319755375385,0.156433269381523,0.202354386448860,-0.077832803130150,-0.106801912188530,0.102229602634907,0.090601317584515,0.036513894796371,-0.028274662792683,-0.020244309678674,0.198453024029732,-0.070854365825653,0.012744553387165,0.117535874247551) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.045825008302927,-0.013642136007547,0.065205499529839,-0.019613377749920,0.029027039185166,-0.039328023791313,0.038845993578434,0.145967125892639,-0.143261522054672,0.067359216511250,-0.167948931455612,0.070233494043350,0.049945209175348,0.106377765536308,0.024996086955070,0.081150606274605) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.145545303821564,0.111773066222668,-0.175689250230789,-0.158233255147934,0.095281518995762,-0.059029798954725,-0.148268774151802,-0.070543460547924,-0.028724908828735,-0.138088166713715,0.175113722681999,-0.064565315842628,0.055804517120123,0.014391905628145,0.066682413220406,-0.148091986775398) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.056421838700771,-0.038558866828680,-0.137398481369019,0.074206210672855,0.142645508050919,-0.079778209328651,-0.051055334508419,-0.072932101786137,-0.103604093194008,-0.078712798655033,-0.429519951343536,0.142648443579674,0.020204398781061,0.132549762725830,-0.194150254130363,0.003564298618585) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.122581288218498,0.128269448876381,0.174793735146523,-0.076273374259472,0.062910310924053,-0.165365785360336,-0.034281831234694,0.087354846298695,-0.101517193019390,0.015219820663333,0.091425612568855,0.046157691627741,-0.127644285559654,-0.106810145080090,0.044768001884222,-0.095892146229744) * MODEL12_texOff(vec2(0,1));
res += mat4(0.088032856583595,0.171019405126572,-0.186858728528023,0.093705847859383,-0.146759018301964,-0.041100226342678,0.108311831951141,-0.062649644911289,-0.135623708367348,0.207101255655289,-0.022040318697691,-0.075802817940712,-0.101730935275555,0.094445414841175,-0.091249980032444,-0.087248846888542) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.089948929846287,-0.135281354188919,0.119459427893162,-0.119061775505543,0.408240675926208,-0.111167594790459,-0.082175917923450,-0.036682330071926,-0.403461039066315,-0.026311753317714,0.169227212667465,-0.217248737812042,-0.239401698112488,0.046728119254112,-0.164785265922546,-0.475950777530670) * MODEL12_texOff(vec2(1,0));
res += mat4(0.027051281183958,-0.088130481541157,-0.013330474495888,-0.018440959975123,-0.216917902231216,0.066486895084381,0.066038005053997,0.168564617633820,-0.061830174177885,-0.048787001520395,-0.068299137055874,-0.109044648706913,-0.256179690361023,-0.149668097496033,0.046493176370859,-0.120941884815693) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.029210874810815,-0.107865504920483,-0.016811996698380,-0.098847433924675) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL2
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 7_2

vec4 hook()
{
vec4 res = vec4(-0.123071148991585,0.019746588543057,-0.067909307777882,-0.159719020128250);
res += mat4(0.078247517347336,-0.135329797863960,0.028609791770577,0.018654806539416,-0.031366448849440,-0.124674662947655,0.069113254547119,0.063756138086319,-0.132251739501953,0.047278661280870,-0.059518918395042,-0.004347173962742,0.065792270004749,-0.265240371227264,-0.074031449854374,-0.066234305500984) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.261905401945114,-0.159940257668495,0.035908445715904,0.064757831394672,0.030541077256203,-0.157619193196297,0.053281612694263,-0.081234954297543,0.089169174432755,-0.180571645498276,-0.088293723762035,-0.019948456436396,-0.020614555105567,0.148834884166718,-0.018240345641971,-0.087848663330078) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.037303395569324,0.082256823778152,-0.051617436110973,-0.103674001991749,-0.212812602519989,-0.012064379639924,-0.035740952938795,-0.021440390497446,0.063968196511269,-0.018082391470671,0.047847706824541,-0.120341077446938,-0.028903715312481,0.184979811310768,0.127677604556084,0.132761821150780) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.212464570999146,0.131605058908463,0.014617847278714,-0.009175471030176,-0.018724478781223,0.047677543014288,0.039273075759411,-0.086605548858643,-0.235591456294060,-0.270966947078705,0.206667795777321,0.012285173870623,-0.166646599769592,0.339040726423264,-0.097025759518147,-0.217748999595642) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.181911483407021,0.008183223195374,-0.088133908808231,-0.062854640185833,-0.136751636862755,-0.121059127151966,-0.076728656888008,0.060041781514883,0.357994019985199,0.084601745009422,0.046675503253937,-0.029723539948463,-0.119051612913609,-0.180821076035500,0.268518775701523,-0.071696631610394) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.010516313835979,0.117990821599960,-0.033347491174936,0.334614962339401,0.109991103410721,-0.036986958235502,-0.061517819762230,0.172347351908684,-0.223028138279915,-0.125658795237541,-0.110690630972385,-0.256508111953735,-0.001176554127596,-0.162919938564301,-0.060156162828207,-0.004688834771514) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.058489806950092,0.135671839118004,-0.090577155351639,0.185313716530800,0.075500160455704,0.097893103957176,-0.174774274230003,-0.015240360982716,0.073754072189331,0.049369793385267,-0.158965006470680,-0.073873206973076,-0.147667795419693,-0.062748678028584,0.037277642637491,-0.151532843708992) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.016255687922239,-0.022741790860891,0.050234314054251,0.267914235591888,-0.078882709145546,0.295912832021713,-0.261501461267471,-0.007881973870099,0.168298020958900,-0.038255203515291,-0.053441550582647,-0.091865405440331,-0.070623025298119,0.175855621695518,-0.021388346329331,-0.109661199152470) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.018716104328632,-0.003470162395388,0.066406309604645,-0.039905715733767,0.076353639364243,0.056731026619673,-0.026675555855036,0.075415022671223,-0.000944354105741,0.106347948312759,-0.161673650145531,0.078328639268875,-0.075283832848072,0.243084847927094,0.045340698212385,0.159732162952423) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.100755557417870,0.002714182948694,0.072885230183601,-0.039520673453808,0.014430514536798,-0.069752275943756,-0.070052638649940,0.007020619697869,0.052334293723106,-0.060523860156536,0.190152436494827,-0.044925510883331,-0.002506727119908,0.011742845177650,-0.026222197338939,-0.101375073194504) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.049589063972235,0.108058258891106,0.150263339281082,-0.050007659941912,-0.040794666856527,-0.010248715989292,-0.083751946687698,0.058529239147902,-0.063361108303070,-0.468819171190262,0.144009098410606,-0.003273896407336,-0.011946188285947,-0.280151456594467,-0.230084985494614,0.030610775575042) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.064693145453930,-0.127332597970963,-0.001742388703860,0.072623580694199,0.077670507133007,0.018002664670348,-0.034620184451342,0.030699389055371,-0.057881176471710,-0.272959768772125,-0.039657067507505,0.013333342969418,0.048053581267595,0.176355585455894,0.002954496536404,0.049945306032896) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.145013779401779,-0.228130832314491,0.127107352018356,0.158015534281731,-0.064668908715248,-0.003641571151093,-0.052168861031532,-0.112101770937443,-0.075088702142239,0.143272921442986,-0.364843815565109,0.044494714587927,-0.138572528958321,0.238744691014290,-0.077757507562637,-0.134376928210258) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.182413443922997,-0.223762840032578,0.206356063485146,0.169338241219521,-0.038526963442564,-0.098344169557095,-0.078250296413898,0.064920172095299,0.005995742976665,0.144812852144241,0.087999545037746,-0.296995997428894,0.000722592405509,0.386714607477188,-0.098135769367218,0.211002022027969) * MODEL8_texOff(vec2(0,0));
res += mat4(0.290453314781189,-0.154047414660454,0.050074815750122,-0.143949568271637,-0.014692095108330,-0.183976039290428,0.028225937858224,0.190537005662918,-0.051384028047323,0.165477752685547,0.082665607333183,0.018814867362380,0.075529798865318,-0.006675838027149,-0.042454950511456,-0.166870370507240) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.055331911891699,0.003520648926497,0.045641575008631,-0.063642501831055,0.006916439160705,0.000224022602197,-0.007087602745742,0.037270560860634,0.047064132988453,0.052727382630110,-0.143184706568718,-0.037149112671614,0.022210011258721,-0.071723245084286,0.060807265341282,-0.044748641550541) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.029572885483503,0.084388598799706,-0.024658598005772,-0.095304124057293,-0.123377785086632,-0.013131710700691,-0.041819244623184,-0.174164205789566,-0.112964116036892,0.112827546894550,-0.025220226496458,0.133963525295258,0.026456791907549,-0.158505529165268,0.178178191184998,0.054147467017174) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.026604339480400,-0.144432261586189,0.053838904947042,-0.195441171526909,0.021681232377887,0.111307196319103,-0.004142636433244,0.068498924374580,0.000373882532585,-0.056325659155846,-0.006012836471200,-0.140711501240730,-0.040866330265999,-0.182598471641541,-0.066665515303612,0.050689112395048) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.033604826778173,-0.243625164031982,0.143609851598740,-0.010342406108975,0.002697135088965,-0.048229236155748,0.106946945190430,-0.065826907753944,0.050458014011383,-0.074612803757191,0.086842849850655,0.146086588501930,-0.036253307014704,-0.071439459919930,0.152834996581078,0.043551493436098) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.063327521085739,-0.329821527004242,0.030272742733359,-0.050738740712404,0.049252148717642,-0.246184691786766,0.072666183114052,0.086668625473976,0.084527425467968,-0.201244577765465,-0.018029171973467,-0.071823477745056,0.096048049628735,-0.083873972296715,0.018325746059418,0.003165528178215) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.189159125089645,-0.242053121328354,-0.025471512228251,0.029840916395187,-0.013365192338824,-0.219421088695526,-0.097760900855064,0.000290280062472,0.165313914418221,-0.082802556455135,-0.147984772920609,-0.035751625895500,-0.007222030311823,0.009592081420124,-0.145002782344818,0.027105605229735) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.038710061460733,0.034663941711187,-0.050570625811815,-0.046959273517132,-0.031468097120523,0.062145374715328,-0.043474804610014,-0.025306295603514,-0.101074524223804,0.012278300710022,-0.087859123945236,0.170159026980400,0.056940473616123,0.052548341453075,-0.018429402261972,0.081325590610504) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.088308066129684,0.091773733496666,0.155866265296936,-0.033196445554495,-0.075823567807674,0.134587153792381,-0.064477741718292,-0.147330343723297,0.139368981122971,0.063498571515083,-0.150003090500832,0.076160140335560,0.275611996650696,-0.281393408775330,0.356867849826813,-0.178890615701675) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.061661493033171,0.062474071979523,0.035793334245682,-0.020435323938727,-0.015663640573621,0.123256169259548,-0.030484147369862,0.203431844711304,0.115031450986862,-0.136752918362617,-0.028373794630170,-0.168207898736000,-0.247941464185715,0.149625837802887,0.145227164030075,0.186531782150269) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.018508102744818,-0.097955852746964,-0.036896791309118,0.043214313685894,-0.040433544665575,-0.049967262893915,0.066065482795238,0.023227006196976,0.082604572176933,0.033451985567808,0.007503933273256,0.129121735692024,-0.011091851629317,-0.014239907264709,-0.042524687945843,0.060841389000416) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.115523561835289,-0.092565007507801,0.099374830722809,-0.027654947713017,0.082229398190975,0.204880580306053,0.042866297066212,0.088422089815140,0.013597341254354,-0.128876268863678,-0.151831522583961,0.048933424055576,0.027128022164106,-0.016288535669446,-0.115859888494015,-0.044195320457220) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.056834492832422,-0.194058835506439,0.246267870068550,-0.099100857973099,-0.308514535427094,0.084651410579681,0.091883130371571,-0.148398190736771,-0.025629198178649,-0.082279331982136,-0.015189217403531,0.200711488723755,-0.144797116518021,-0.033675186336040,0.211775913834572,0.178557217121124) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.003931337036192,-0.242155566811562,0.064431749284267,0.150084063410759,0.082656562328339,0.051505655050278,-0.062375873327255,-0.138982042670250,0.029491666704416,-0.054992876946926,-0.146548464894295,-0.074311718344688,-0.098159290850163,-0.077987492084503,0.031890336424112,-0.037022501230240) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.077679976820946,-0.029367430135608,-0.185229569673538,-0.016754316166043,-0.081434473395348,0.137615934014320,0.023623000830412,-0.116419389843941,0.015608053654432,0.105193935334682,-0.089838378131390,-0.085278302431107,-0.134484216570854,0.135624915361404,0.045223955065012,-0.000590464565903) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.089345619082451,0.171814009547234,-0.080238439142704,0.136272773146629,-0.015586008317769,0.135850861668587,0.051768422126770,0.133603677153587,-0.027538156136870,-0.019123688340187,0.072322241961956,-0.053488422185183,0.124808661639690,0.202058285474777,0.065234914422035,0.221832722425461) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.056383084505796,0.454514265060425,0.166853547096252,0.068186722695827,0.166116818785667,0.115987323224545,-0.101337499916553,-0.241690069437027,-0.181282192468643,-0.095164798200130,-0.034133497625589,0.114030294120312,0.013705990277231,0.198689132928848,-0.055682018399239,-0.104906387627125) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.066970281302929,0.030811388045549,0.112760245800018,0.192412897944450,-0.121018290519714,-0.028810849413276,0.106855578720570,-0.042805492877960,0.166199758648872,0.156506806612015,0.122457109391689,0.307821631431580,-0.091859146952629,-0.029241072013974,0.004211469087750,-0.078050844371319) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.267170161008835,-0.109905824065208,-0.111537933349609,-0.123389057815075,0.031764719635248,0.016174588352442,-0.026957593858242,0.072029009461403,0.278605073690414,0.007154095917940,0.024587888270617,-0.255261689424515,-0.192065581679344,-0.385648399591446,0.070093631744385,0.236351206898689) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.000878301158082,0.028171038255095,-0.140769496560097,0.143585741519928,0.056977815926075,-0.101100184023380,0.086960762739182,-0.271385639905930,-0.023487500846386,-0.199353098869324,-0.228708490729332,0.109488822519779,0.066988497972488,-0.043363969773054,0.112887986004353,-0.060224361717701) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.022711390629411,-0.163592636585236,0.010233980603516,-0.039192397147417,-0.199044525623322,-0.088172867894173,-0.150078430771828,-0.056811258196831,-0.053616255521774,-0.110503152012825,0.154650703072548,0.100767932832241,-0.127494648098946,0.023908698931336,-0.043929636478424,-0.069229029119015) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.009577462449670,0.007069044746459,-0.132955700159073,0.085235722362995,-0.025589177384973,0.007321065291762,-0.043083783239126,0.248328998684883,0.022629626095295,-0.001072920626029,-0.087044976651669,-0.174395307898521,0.134248107671738,0.094401173293591,-0.046089209616184,0.270142912864685) * MODEL10_texOff(vec2(1,1));
res += mat4(0.023662587627769,0.047930471599102,0.018312223255634,-0.063718199729919,0.057878620922565,0.066674791276455,0.007993586361408,0.001864487654530,0.051255960017443,0.066161260008812,0.016497984528542,-0.079040937125683,-0.036654621362686,0.028279324993491,0.157185479998589,-0.057989422231913) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.065552644431591,0.083182625472546,0.032906018197536,-0.088527359068394,-0.121721036732197,-0.028462031856179,0.028239253908396,0.065403975546360,-0.044208370149136,-0.034943539649248,0.257648646831512,0.105739399790764,0.099251091480255,-0.233057975769043,-0.047549586743116,0.041682355105877) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.228866353631020,0.138187199831009,0.016755012795329,0.046944621950388,0.016878431662917,0.105272471904755,0.080504991114140,0.077452272176743,0.060910519212484,0.022272711619735,0.085148252546787,-0.026173911988735,-0.010506478138268,0.067913562059402,-0.142210200428963,-0.101148292422295) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.064880087971687,0.081562057137489,0.082816362380981,0.005111243575811,-0.024661818519235,0.038158547133207,0.042315475642681,-0.077866643667221,-0.036102518439293,0.072900593280792,-0.057240318506956,-0.088879927992821,0.076332688331604,0.085441984236240,-0.122262969613075,0.050808876752853) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.166267186403275,-0.249799698591232,-0.370482861995697,-0.306539773941040,-0.114426881074905,0.201082736253738,0.047615937888622,0.054807472974062,0.277664780616760,-0.252348661422729,-0.336449921131134,0.031164653599262,-0.017682988196611,0.136249214410782,-0.007234091404825,-0.121899567544460) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.533720493316650,-0.053739693015814,0.000705229002051,0.177129402756691,-0.028063714504242,-0.338605701923370,-0.117677122354507,0.059420764446259,-0.341482490301132,-0.262537539005280,-0.096127696335316,-0.051452293992043,-0.140419498085976,0.112353630363941,-0.079084955155849,0.365235954523087) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.065070360898972,-0.117381051182747,0.008195958100259,-0.011214976198971,-0.073803186416626,0.032254118472338,0.050629176199436,-0.049167636781931,0.008497857488692,-0.026035036891699,-0.043822478502989,-0.078019700944424,0.150315955281258,-0.052196603268385,0.141343683004379,-0.186989560723305) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.109095901250839,-0.172411978244781,0.199163511395454,-0.019878150895238,-0.006656100042164,-0.104232124984264,0.011629415675998,0.091944053769112,0.043101001530886,0.023185759782791,0.056447431445122,-0.035955458879471,0.062317136675119,0.105726115405560,-0.100705832242966,-0.008216200396419) * MODEL11_texOff(vec2(1,0));
res += mat4(0.167808413505554,-0.190939575433731,0.111799381673336,-0.035092610865831,-0.073026500642300,0.266954302787781,0.042383436113596,-0.024270400404930,0.084646828472614,-0.015150479041040,-0.062232501804829,-0.067630171775818,-0.137328296899796,0.082663536071777,0.000580358551815,0.043119888752699) * MODEL11_texOff(vec2(1,1));
res += mat4(0.123521916568279,-0.162856817245483,0.016481598839164,-0.065436884760857,0.022116901353002,0.224265784025192,-0.065742500126362,-0.126865774393082,0.035098817199469,0.029005851596594,0.018367486074567,0.016814222559333,0.011260419152677,0.007021707482636,-0.035523876547813,-0.072623543441296) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.009739368222654,0.250749260187149,0.099324271082878,-0.026636108756065,-0.106655932962894,0.199859365820885,0.029117830097675,0.110420972108841,-0.002657850272954,0.061183828860521,-0.080832608044147,0.023417415097356,0.075540319085121,0.030459182336926,0.077502369880676,0.057158470153809) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.083847343921661,0.127877756953239,0.031689804047346,-0.120815232396126,0.003831572830677,0.137730956077576,0.009444938041270,0.104365244507790,-0.109535247087479,-0.053468801081181,0.039833143353462,0.012478972785175,-0.004930543713272,-0.180691480636597,-0.036718957126141,0.131549522280693) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.371391654014587,0.026359939947724,0.159067124128342,-0.497137516736984,0.034171178936958,-0.192635640501976,-0.204549133777618,0.022867709398270,0.043420851230621,-0.063079714775085,-0.158480077981949,-0.029164550825953,-0.038291584700346,-0.035952631384134,-0.042058076709509,-0.041943594813347) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.283008605241776,-0.414501905441284,-0.311426073312759,0.092392191290855,-0.092231348156929,-0.234865799546242,-0.195857077836990,0.088250845670700,-0.043916214257479,0.155209660530090,-0.184620037674904,0.019241789355874,-0.018911235034466,-0.095433294773102,-0.246081978082657,-0.337907403707504) * MODEL12_texOff(vec2(0,0));
res += mat4(0.247145086526871,0.042909782379866,-0.133485972881317,-0.233782440423965,0.195118978619576,-0.088605970144272,0.128502458333969,0.173056393861771,-0.022800300270319,-0.042933300137520,-0.071611873805523,0.023744646459818,-0.137393206357956,0.117341585457325,0.062190193682909,0.318938970565796) * MODEL12_texOff(vec2(0,1));
res += mat4(0.040842056274414,0.011245836503804,0.025032630190253,-0.014187650755048,-0.080300241708755,0.069089598953724,0.049743417650461,0.277630418539047,0.055857334285975,0.085164166986942,-0.016330627724528,-0.057816531509161,0.024758974090219,-0.152515128254890,0.072671927511692,-0.056322913616896) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.028662301599979,-0.084401026368141,0.246320396661758,0.087215103209019,0.222812131047249,-0.016678109765053,0.105435736477375,0.099413841962814,0.124025575816631,-0.190769776701927,0.022446162998676,-0.047341205179691,0.121348120272160,-0.219933584332466,-0.171619370579720,-0.117520600557327) * MODEL12_texOff(vec2(1,0));
res += mat4(0.015770314261317,-0.108471363782883,0.053121726959944,-0.054944198578596,0.215502500534058,-0.045477490872145,0.216265797615051,-0.234436452388763,-0.110385946929455,0.034540232270956,-0.017430247738957,0.144618153572083,-0.166980236768723,-0.077620066702366,0.058179445564747,0.071522220969200) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.013882955536246,0.088617600500584,0.064175285398960,0.136276960372925) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL3
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 7_3

vec4 hook()
{
vec4 res = vec4(-0.053378995507956,0.006597736850381,-0.031430736184120,-0.134054228663445);
res += mat4(-0.121972016990185,-0.123969294130802,0.222935587167740,0.060969650745392,0.028016487136483,-0.005664783995599,-0.006333989556879,0.117589786648750,0.162933513522148,-0.056725498288870,0.043020766228437,-0.072194501757622,-0.126912295818329,0.098622202873230,0.009387276135385,-0.029312765225768) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.156496465206146,0.077847272157669,0.297478646039963,0.188003405928612,-0.149948686361313,-0.238584920763969,0.145742684602737,0.029964737594128,-0.017367199063301,-0.155583977699280,-0.017260221764445,-0.074722521007061,-0.068771734833717,-0.003237626980990,-0.106706611812115,-0.062910288572311) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.010146748274565,-0.131145119667053,-0.076261915266514,-0.054107621312141,0.055986337363720,0.135766819119453,-0.155306652188301,-0.062052879482508,0.195377886295319,0.042084537446499,-0.067959703505039,0.038562316447496,0.046850796788931,0.094256035983562,-0.086905233561993,0.063302636146545) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.039641015231609,-0.089070565998554,0.154445871710777,0.213988468050957,0.155834004282951,0.060432326048613,-0.150553122162819,0.141771718859673,0.045678261667490,-0.004404660314322,0.065881013870239,0.092637524008751,-0.382973551750183,-0.067932203412056,-0.188076466321945,0.012479166500270) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.412686020135880,0.231334000825882,-0.073864698410034,0.165055945515633,-0.067866973578930,0.050827424973249,0.159979894757271,-0.081097610294819,0.015309968963265,0.244461193680763,0.127386853098869,-0.023933328688145,-0.285916864871979,-0.055027727037668,0.062777690589428,-0.110141329467297) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.232754945755005,0.100415565073490,0.069961972534657,-0.179531991481781,-0.067896954715252,-0.209263056516647,0.017525486648083,-0.099749609827995,0.165708765387535,-0.077293172478676,-0.136818900704384,0.062287624925375,0.060270104557276,-0.082264520227909,-0.340968251228333,-0.099636971950531) * MODEL7_texOff(vec2(0,1));
res += mat4(0.044907920062542,0.059948857873678,-0.102732688188553,-0.098746128380299,-0.024190071970224,0.116477824747562,0.145668536424637,0.062886185944080,0.130316227674484,0.003555914619938,0.051827087998390,0.038804993033409,-0.202561378479004,0.077202543616295,-0.065768271684647,-0.014970539137721) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.077881403267384,-0.061507884413004,0.082427941262722,-0.019777154549956,-0.035990722477436,0.010356768965721,-0.083526864647865,-0.097627319395542,0.110725745558739,-0.055293362587690,0.010646686889231,0.005591712892056,-0.063919819891453,-0.199013367295265,0.009111589752138,0.037505958229303) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.098207548260689,-0.075940713286400,0.165855109691620,-0.041512746363878,0.133479893207550,-0.032134890556335,-0.100053027272224,0.004833061713725,0.100219465792179,0.023337988182902,-0.038844894617796,-0.011647738516331,0.011371823959053,-0.017461087554693,-0.044828630983829,0.013121900148690) * MODEL7_texOff(vec2(1,1));
res += mat4(0.120249398052692,-0.133649647235870,0.069028355181217,-0.001379839028232,0.060945522040129,0.019794367253780,-0.003284594509751,-0.009377731010318,0.087223187088966,0.066931255161762,-0.132326394319534,-0.135356843471527,-0.051716420799494,0.002843958092853,0.022221891209483,-0.063471540808678) * MODEL8_texOff(vec2(-1,-1));
res += mat4(0.185415565967560,-0.167556911706924,-0.011852465569973,-0.030715525150299,0.095304034650326,-0.038098983466625,0.021437117829919,0.059498772025108,-0.133682265877724,-0.050495531409979,0.106815822422504,0.127011880278587,-0.061156585812569,-0.122212044894695,-0.110629327595234,0.036199580878019) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.111579500138760,-0.062516704201698,0.079083181917667,-0.042914375662804,0.016170740127563,-0.001554899499752,-0.042877592146397,-0.077188819646835,0.041573047637939,-0.037291646003723,0.087382562458515,0.044207163155079,0.106650948524475,0.015488944947720,0.012160862796009,0.025756638497114) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.063902139663696,0.149937063455582,-0.259408861398697,-0.032527014613152,0.136290758848190,-0.003737416351214,0.220132499933243,-0.058202333748341,0.142028778791428,0.195353984832764,-0.258045941591263,-0.394557625055313,-0.134623482823372,-0.017547875642776,0.029853299260139,0.106420710682869) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.156528130173683,-0.236549094319344,0.326385200023651,-0.007682392839342,-0.569586098194122,0.180660471320152,-0.638096213340759,-0.210101470351219,0.085179604589939,-0.294061601161957,0.054333485662937,0.282161980867386,0.192792803049088,0.212664246559143,0.023418709635735,-0.125528380274773) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.001012783963233,-0.142283514142036,0.074999406933784,0.079275064170361,0.130938202142715,-0.349913090467453,0.082736827433109,-0.026358621194959,-0.118667572736740,0.077380128204823,0.069431662559509,0.006102765910327,-0.042924076318741,-0.081669531762600,-0.037945892661810,0.009012874215841) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.051740359514952,-0.046984262764454,0.037535078823566,-0.002924802480265,-0.024016754701734,-0.053522884845734,-0.010107919573784,-0.014669405296445,-0.008909374475479,0.101604685187340,-0.009907749481499,-0.004888889379799,0.051892094314098,0.045287229120731,-0.063390947878361,0.018153542652726) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.085632398724556,-0.088654361665249,0.150337517261505,0.092331230640411,0.052144538611174,-0.059690866619349,0.014393196441233,-0.081646479666233,0.126981839537621,-0.047316391021013,0.071882195770741,0.088715523481369,0.013785460032523,-0.027665073052049,0.047250460833311,0.065117314457893) * MODEL8_texOff(vec2(1,0));
res += mat4(0.136896565556526,-0.117072075605392,0.053103927522898,0.067081712186337,-0.023446954786777,0.016297768801451,0.041700195521116,-0.017506374046206,-0.033319391310215,-0.019414093345404,-0.034338872879744,-0.006301845889539,-0.104280844330788,-0.125409826636314,0.097414642572403,0.093273110687733) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.095742717385292,-0.029442638158798,0.016822451725602,-0.025781506672502,-0.046174664050341,-0.046627737581730,-0.002614318160340,-0.019237449392676,0.105912372469902,0.042377837002277,-0.131045609712601,0.147408246994019,0.053713355213404,0.039170421659946,-0.079036861658096,-0.104286216199398) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.145855918526649,0.091430149972439,-0.190880909562111,-0.071039870381355,0.066846609115601,0.115509748458862,0.024419661611319,0.160508528351784,-0.176460802555084,0.001571691944264,0.131390348076820,0.068502344191074,0.060441780835390,-0.039128527045250,0.184059947729111,0.171875134110451) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.315844208002090,-0.020229317247868,-0.057477187365294,0.006326660513878,-0.019785266369581,-0.097223863005638,0.068358428776264,-0.019603818655014,0.137572556734085,0.268995970487595,-0.008954940363765,0.285952508449554,-0.171091914176941,0.006950519979000,0.017881512641907,-0.007141669280827) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.182785391807556,0.072375550866127,-0.133928909897804,-0.092034675180912,0.005768266506493,-0.072015769779682,0.020068380981684,0.049371875822544,0.110645301640034,0.203910633921623,-0.091369420289993,-0.069549180567265,0.204098343849182,0.056705486029387,-0.120249725878239,-0.247344210743904) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.422192633152008,-0.069301277399063,0.180588498711586,0.022092141211033,0.161894455552101,0.141350463032722,-0.328792423009872,-0.080579228699207,0.047847896814346,-0.074544101953506,0.290182262659073,-0.025067234411836,-0.008763493038714,-0.228121861815453,0.059016626328230,0.415480315685272) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.121229581534863,0.026321934536099,0.014968256466091,-0.027256606146693,-0.116023488342762,-0.063995674252510,0.242238581180573,0.027261633425951,0.021501762792468,0.028533732518554,-0.114610306918621,0.108124621212482,-0.304790854454041,0.069386437535286,0.291323661804199,-0.020498204976320) * MODEL9_texOff(vec2(0,1));
res += mat4(0.065426245331764,0.065420456230640,-0.008487599901855,-0.065163187682629,0.117263115942478,0.097326941788197,-0.135051310062408,-0.254735410213470,0.013824048452079,-0.060872320085764,0.098757125437260,0.092161774635315,0.049186382442713,0.062818303704262,-0.123035967350006,-0.080504007637501) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.053740706294775,-0.079191640019417,-0.007617198862135,-0.059312917292118,-0.280884236097336,-0.178320243954659,0.036748923361301,0.029911229386926,0.247502759099007,0.143201991915703,-0.087335824966431,0.181031599640846,-0.086120858788490,-0.159146711230278,-0.015306843444705,0.053395472466946) * MODEL9_texOff(vec2(1,0));
res += mat4(0.028294758871198,-0.125568345189095,-0.075396209955215,-0.058171499520540,0.125062927603722,0.123343311250210,-0.011329103261232,0.067119799554348,-0.091402895748615,0.072752356529236,0.091011159121990,-0.021234998479486,-0.089610248804092,-0.044286120682955,0.142073482275009,0.015639403834939) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.087245434522629,0.067251123487949,-0.011037196032703,0.034406546503305,-0.017823005095124,0.144522845745087,0.153006523847580,0.068679772317410,-0.202029719948769,-0.125597909092903,0.025204500183463,0.059747267514467,-0.069466151297092,-0.121578119695187,-0.132808387279510,-0.116980537772179) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.181778028607368,-0.103528894484043,0.105358280241489,0.058405954390764,-0.048400286585093,0.122991338372231,-0.132399976253510,0.105143226683140,-0.036294154822826,0.142103925347328,-0.072026081383228,-0.071851342916489,-0.118519581854343,-0.064147070050240,-0.117041200399399,-0.144571974873543) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.157268241047859,0.068616174161434,0.034399695694447,0.002944100182503,0.007968355901539,-0.092752054333687,0.067937515676022,0.062952175736427,0.010194271802902,0.001525564235635,-0.015149807557464,0.049354806542397,0.143227815628052,-0.291331768035889,0.176931560039520,0.094979472458363) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.088768765330315,0.032783277332783,-0.117823041975498,-0.033629655838013,-0.000365651067114,0.101568549871445,0.131806150078773,-0.046196542680264,0.003153009107336,-0.095619097352028,-0.094740845263004,-0.005764818750322,-0.080896206200123,-0.083735607564449,-0.043175157159567,-0.098189793527126) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.365134716033936,0.094119101762772,0.104568518698215,0.088377498090267,-0.070976354181767,-0.047816064208746,-0.119362764060497,0.244706824421883,-0.250414073467255,0.089270256459713,0.043450802564621,-0.177930518984795,-0.303390651941299,-0.049250606447458,-0.345129221677780,-0.233044490218163) * MODEL10_texOff(vec2(0,0));
res += mat4(0.027741530910134,-0.339366912841797,-0.229772463440895,0.029004795476794,0.093719393014908,-0.165128409862518,0.063747733831406,0.035346936434507,0.129766419529915,-0.038915630429983,-0.098629713058472,0.089238181710243,0.201596587896347,-0.452535629272461,0.218031018972397,0.210925474762917) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.078480690717697,0.132068186998367,-0.115436352789402,0.085749670863152,0.137664034962654,0.070897705852985,0.172590360045433,0.064711987972260,0.310021877288818,0.162822127342224,-0.194357961416245,-0.140353888273239,0.027965402230620,-0.018078142777085,0.061782483011484,-0.089557960629463) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.000006530490282,-0.053729526698589,0.073317348957062,0.025267511606216,-0.014493782073259,-0.024466069415212,-0.155092701315880,-0.087570592761040,-0.195184111595154,0.081511192023754,0.060175903141499,-0.167279615998268,-0.131619274616241,-0.059836663305759,-0.226315006613731,-0.165199965238571) * MODEL10_texOff(vec2(1,0));
res += mat4(0.043541368097067,-0.210405096411705,-0.087425418198109,-0.186388820409775,-0.098265685141087,0.072454690933228,0.037831816822290,-0.106243014335632,-0.021600827574730,-0.090319417417049,-0.153868719935417,-0.015881121158600,0.190791547298431,-0.009980743750930,-0.019063290208578,0.227026298642159) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.115483254194260,-0.020425774157047,0.034327287226915,0.136724472045898,-0.055977486073971,-0.063581533730030,0.163256436586380,-0.151684090495110,-0.013256688602269,-0.011425942182541,0.055930912494659,0.092260077595711,-0.014564581215382,0.075851827859879,-0.142228588461876,-0.186224311590195) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.083146102726460,0.087652005255222,0.011700125411153,-0.396572411060333,0.020183239132166,0.064598836004734,0.051218956708908,0.252512782812119,0.096678845584393,0.073103085160255,-0.035689987242222,-0.033803213387728,0.128499269485474,0.032152853906155,-0.045405678451061,-0.087349839508533) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.052394419908524,0.011701242066920,-0.052806824445724,0.036232996731997,-0.012351757846773,-0.006513399071991,-0.074511557817459,-0.198779270052910,-0.201436057686806,-0.035039197653532,0.054304361343384,-0.000685008475557,-0.174897491931915,-0.021395072340965,-0.149098783731461,-0.090190574526787) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.146794304251671,0.012652308680117,-0.079955913126469,0.129032164812088,-0.064033366739750,-0.025882057845592,0.164765819907188,-0.385267108678818,-0.034413155168295,0.026424750685692,-0.025600701570511,0.061769325286150,-0.052681330591440,0.020277304574847,0.044340971857309,-0.110036097466946) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.011162994429469,0.132583186030388,-0.010934883728623,-0.250670701265335,0.149407953023911,-0.183325007557869,0.017650045454502,0.193026199936867,0.022296745330095,-0.092681542038918,-0.180355191230774,-0.370949417352676,0.316716611385345,0.308744817972183,-0.106179945170879,0.298696726560593) * MODEL11_texOff(vec2(0,0));
res += mat4(0.031553130596876,-0.354336053133011,0.067551597952843,0.126530274748802,0.006497174967080,0.203893169760704,-0.047289684414864,-0.234102219343185,-0.045765675604343,-0.238722950220108,-0.121770009398460,0.164216801524162,-0.194450139999390,0.131599843502045,0.134294211864471,-0.102942809462547) * MODEL11_texOff(vec2(0,1));
res += mat4(0.045542120933533,-0.035458587110043,-0.038593489676714,0.018698791041970,-0.090560592710972,-0.051585827022791,0.051310136914253,-0.083875574171543,-0.047710113227367,-0.052752409130335,0.030268101021647,-0.019896388053894,-0.250435680150986,-0.052081286907196,0.155402705073357,-0.042352918535471) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.124474659562111,-0.033370457589626,0.126281231641769,0.103172853589058,0.061049412935972,0.054382331669331,0.018871970474720,0.192354649305344,0.115295544266701,-0.043184496462345,-0.084317520260811,0.042607288807631,-0.002083505271003,0.114818595349789,-0.104950033128262,0.016111621633172) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.022654155269265,-0.005643961485475,0.068521894514561,0.041205950081348,0.017929244786501,0.116158783435822,0.084474809467793,-0.045804772526026,-0.049334660172462,0.131558701395988,0.012552279047668,0.005990622565150,-0.048832137137651,0.177260115742683,0.020008167251945,-0.059290599077940) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.167160704731941,-0.010348534211516,0.129013717174530,-0.127339184284210,-0.134433150291443,0.038903258740902,0.035265970975161,-0.193747356534004,0.058392368257046,-0.018514525145292,0.064738981425762,0.007554491050541,-0.000554385420401,-0.024009907618165,0.050495337694883,-0.066676430404186) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.115786887705326,0.103557027876377,-0.200399160385132,-0.220807909965515,0.007543846499175,-0.120884433388710,-0.192628011107445,0.003749985480681,-0.087072990834713,0.087247498333454,-0.067487649619579,-0.065151132643223,-0.145475238561630,0.065973497927189,-0.068767137825489,0.073266953229904) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.153068527579308,0.136183291673660,-0.048860557377338,0.044094648212194,-0.043945346027613,0.003041285090148,0.080259814858437,-0.016849843785167,0.005484326742589,-0.187519654631615,0.010676455684006,0.081441462039948,0.108157716691494,-0.078955791890621,0.058950297534466,0.079305253922939) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.256593912839890,-0.133651331067085,0.286798983812332,-0.033102300018072,0.009907696396112,-0.118132777512074,0.029913393780589,-0.131126433610916,0.117685280740261,0.103104822337627,0.094136767089367,0.038479328155518,-0.088755816221237,-0.018480464816093,0.051217146217823,0.002178708789870) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.059105180203915,0.190083906054497,-0.331861734390259,-0.304538547992706,0.067196540534496,-0.013989721424878,0.001111942343414,0.088168919086456,-0.124187201261520,0.027143100276589,-0.175020501017570,-0.260033369064331,-0.095106132328510,0.037785843014717,-0.287637948989868,-0.037678815424442) * MODEL12_texOff(vec2(0,0));
res += mat4(0.156156882643700,-0.196916684508324,-0.213713094592094,0.046505961567163,-0.002160393865779,0.076349936425686,0.177893996238708,0.095032490789890,-0.029770756140351,-0.084720440208912,0.069720029830933,0.264692842960358,0.010212146677077,-0.121537052094936,0.106694832444191,0.013300509192050) * MODEL12_texOff(vec2(0,1));
res += mat4(0.013102434575558,0.103774949908257,-0.067818731069565,0.001764835207723,0.273352712392807,0.103261515498161,-0.098598942160606,-0.083963856101036,0.001543248072267,0.030959332361817,0.096545770764351,0.017903625965118,-0.139799892902374,-0.020560989156365,0.004445939790457,-0.120491161942482) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.127730324864388,-0.047848541289568,0.058576840907335,0.145549789071083,-0.010964461602271,-0.090832158923149,0.355674147605896,0.170980006456375,0.145713761448860,-0.099335782229900,-0.213069558143616,0.148993790149689,0.122741073369980,-0.096972540020943,-0.113569915294647,0.059042889624834) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.016762144863605,0.011893517337739,-0.127730697393417,0.030574817210436,0.117503620684147,0.366514742374420,-0.034921169281006,0.127090990543365,-0.004284248221666,0.043046753853559,0.214676558971405,0.058071143925190,0.053173717111349,-0.005085123237222,-0.028216017410159,0.026588506996632) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.049303445965052,-0.080320470035076,0.079706065356731,-0.004433663096279) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL4
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 7_4

vec4 hook()
{
vec4 res = vec4(-0.147345170378685,-0.320274710655212,-0.209694802761078,0.127540141344070);
res += mat4(-0.078113935887814,-0.235643133521080,0.125175699591637,0.021460777148604,-0.000989953521639,0.114138089120388,-0.098367638885975,-0.001871257205494,-0.084723785519600,-0.007633696775883,0.019366089254618,0.016651609912515,-0.026397112756968,-0.066438548266888,0.062542460858822,0.197103887796402) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.095901109278202,0.155002698302269,0.120741583406925,0.183286428451538,-0.353075802326202,-0.124692238867283,-0.101021058857441,-0.111445076763630,-0.115141563117504,0.043592195957899,0.077044188976288,0.067245453596115,0.077185422182083,0.049350984394550,-0.046235714107752,-0.034548971801996) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.011008101515472,-0.088205039501190,0.027935700491071,-0.095138818025589,0.047707304358482,-0.045899916440248,-0.062154833227396,-0.022864533588290,-0.119886957108974,-0.074589326977730,0.162229448556900,-0.004541387781501,0.049453295767307,-0.009381169453263,-0.042938534170389,-0.104411981999874) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.132108345627785,-0.130396962165833,0.314011365175247,-0.031764775514603,-0.005159753374755,0.114443883299828,-0.040764585137367,0.032421499490738,0.008742418140173,0.166175663471222,0.026643501594663,0.125378012657166,0.017083773389459,0.015947956591845,0.486459225416183,0.010106754489243) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.058862198144197,0.205018848180771,-0.049485355615616,0.109022296965122,-0.282858341932297,0.057454481720924,0.023844612762332,0.122585378587246,0.249792799353600,0.018542403355241,0.192022696137428,-0.172933056950569,-0.067751452326775,-0.189224392175674,-0.228635787963867,0.042954482138157) * MODEL7_texOff(vec2(0,0));
res += mat4(0.133144378662109,0.028412364423275,-0.250438570976257,0.036318354308605,0.069083973765373,0.069326408207417,-0.061355613172054,-0.090996719896793,-0.130885526537895,-0.074469827115536,0.158325105905533,0.034452006220818,-0.048481963574886,0.095742739737034,-0.164192765951157,0.016517853364348) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.039344821125269,0.026999482885003,-0.093169584870338,0.024331806227565,-0.032723110169172,-0.014480684883893,0.065113261342049,-0.000860293745063,0.011199361644685,0.130473315715790,0.135993018746376,-0.083522081375122,-0.220018103718758,0.071418330073357,0.288360029459000,-0.057923842221498) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.107835792005062,-0.053085416555405,0.013456153683364,-0.058590192347765,0.068502917885780,0.095969066023827,0.107539482414722,0.186919376254082,-0.123712621629238,-0.048325113952160,-0.151960849761963,0.018043996766210,-0.032841671258211,-0.013764092698693,-0.238298118114471,0.030011087656021) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.034482199698687,-0.072728894650936,0.014636273495853,0.010090420953929,0.044647172093391,-0.019326088950038,-0.101775467395782,-0.052069175988436,0.122732952237129,-0.005369523540139,-0.041679900139570,-0.013315955176950,-0.129091173410416,-0.127859756350517,-0.300952315330505,0.139986306428909) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.119857572019100,-0.035640452057123,-0.051127854734659,-0.036705855280161,0.053215872496367,0.001199768739752,0.029966617003083,-0.074741393327713,0.158509030938148,0.022177044302225,0.027178950607777,0.105023249983788,0.015814773738384,-0.002521998714656,0.061289761215448,-0.021979533135891) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.113330125808716,-0.201614290475845,-0.014468997716904,-0.209349706768990,0.010645399801433,-0.086183905601501,-0.044278599321842,-0.131531491875648,-0.200611263513565,0.002011663978919,0.081398591399193,0.362989574670792,-0.164959058165550,0.238583505153656,0.062299862504005,-0.234046623110771) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.043733660131693,0.091896809637547,0.053986780345440,0.110570520162582,-0.015049524605274,0.125250846147537,-0.011866180226207,-0.058696337044239,-0.017545584589243,0.201772913336754,0.037688259035349,0.098073646426201,0.027441060170531,0.023028278723359,-0.096286565065384,-0.017870569601655) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.101480670273304,-0.117751136422157,-0.195408880710602,0.100173808634281,0.114279165863991,0.097335815429688,-0.105510108172894,0.040731068700552,0.002126373816282,0.054669268429279,-0.007017128169537,0.052853308618069,-0.044904660433531,-0.038334257900715,0.072666846215725,0.026392476633191) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.059298034757376,-0.047556955367327,0.209001362323761,-0.225384160876274,-0.304192334413528,-0.032723128795624,0.201267212629318,0.269453525543213,0.047218374907970,-0.203671291470528,0.213954150676727,-0.455546677112579,0.444269835948944,-0.131824210286140,-0.289377152919769,-0.039965994656086) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.203916579484940,0.047879718244076,0.313710004091263,-0.001697053550743,0.049429439008236,-0.040064815431833,-0.247699648141861,0.015396648086607,0.026455810293555,0.005521588493139,-0.084448046982288,0.087967738509178,-0.291627258062363,-0.137493103742599,0.179818183183670,0.059204164892435) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.132215932011604,-0.064386852085590,-0.146112948656082,-0.046723429113626,-0.071111105382442,-0.077566452324390,-0.033984903246164,-0.020341498777270,0.002843811875209,-0.004573805723339,-0.022489646449685,-0.032980587333441,0.036134243011475,-0.023632166907191,0.090311236679554,-0.069223128259182) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.111086234450340,0.070731408894062,-0.067189894616604,0.170987993478775,-0.134483993053436,-0.183440864086151,-0.049176558852196,-0.143236100673676,0.177728950977325,0.047975249588490,-0.027123117819428,0.024771008640528,-0.148558378219604,0.111793257296085,-0.061473470181227,-0.059720356017351) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.143023818731308,-0.108280248939991,-0.007618270348758,0.024730449542403,-0.032682612538338,0.019080758094788,-0.022584984079003,-0.023521561175585,-0.092240527272224,-0.041859824210405,-0.011707643046975,-0.007476549129933,-0.021335579454899,0.018024582415819,0.029029978439212,-0.023708077147603) * MODEL8_texOff(vec2(1,1));
res += mat4(0.029903583228588,0.110487811267376,0.049792960286140,0.031582199037075,0.032213274389505,0.023961346596479,0.024641528725624,0.030585523694754,0.187484368681908,0.084916405379772,0.036166734993458,-0.052249278873205,0.044758360832930,0.101349748671055,-0.047550287097692,0.046464115381241) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.007549365982413,0.258688718080521,-0.108150906860828,0.117406286299229,-0.026650534942746,0.185990914702415,-0.006646236404777,0.314122438430786,0.113155968487263,0.156914651393890,0.150616168975830,0.080732829868793,-0.079285606741905,0.114890120923519,0.062494903802872,0.106247082352638) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.046344999223948,0.251789271831512,-0.144544646143913,0.075685016810894,-0.029867311939597,0.057066131383181,-0.017230799421668,-0.022147243842483,0.045030485838652,0.059343110769987,0.117251947522163,0.242357447743416,-0.001181912375614,0.003292918438092,0.012332797981799,0.093942657113075) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.017201013863087,-0.000897868885659,-0.070648297667503,0.082785390317440,-0.031762726604939,0.055941238999367,0.058965589851141,-0.261605083942413,-0.082202322781086,0.105364888906479,-0.232407569885254,0.057512070983648,0.023913616314530,-0.027152433991432,-0.095654584467411,-0.101991310715675) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.033693403005600,0.103899337351322,0.029641512781382,0.008511655963957,0.168197497725487,0.411624580621719,-0.042867101728916,-0.422601014375687,0.175235420465469,-0.165570884943008,0.239529490470886,-0.100917346775532,-0.266422539949417,-0.297072738409042,0.188021868467331,-0.098572574555874) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.050824530422688,-0.026299374178052,0.115766659379005,0.108239136636257,0.061093419790268,0.016000280156732,0.017960442230105,-0.103526741266251,-0.258079767227173,0.015097489580512,0.157589077949524,0.230185121297836,0.309065163135529,0.070755690336227,-0.115834854543209,-0.173840492963791) * MODEL9_texOff(vec2(0,1));
res += mat4(0.002752409782261,0.030489381402731,-0.045493423938751,0.038151558488607,-0.079915978014469,0.005305123515427,-0.156393885612488,0.007953541353345,-0.057100776582956,0.140942767262459,0.156515225768089,0.078417442739010,-0.045336712151766,-0.031899493187666,-0.033139985054731,-0.068923726677895) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.058497153222561,-0.086506813764572,0.000333861244144,-0.039501741528511,0.095165006816387,-0.144141554832458,-0.012795512564480,0.004439274314791,0.066971600055695,0.130106434226036,0.040035899728537,0.092534422874451,-0.100150823593140,-0.093315094709396,0.144852623343468,-0.082866504788399) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.049254395067692,-0.197339251637459,-0.035976018756628,-0.231031298637390,-0.047155786305666,-0.052157826721668,-0.080428369343281,0.022190911695361,0.058096218854189,0.166149273514748,0.168004989624023,-0.036138389259577,-0.005141982343048,0.009669087827206,-0.126330986618996,-0.145622640848160) * MODEL9_texOff(vec2(1,1));
res += mat4(0.044828340411186,0.136428028345108,-0.023402092978358,-0.063183240592480,0.036683417856693,0.088099837303162,0.167052581906319,0.067878082394600,-0.009585100226104,-0.108629241585732,0.043635230511427,-0.026024408638477,-0.069818072021008,0.071651458740234,0.050481867045164,0.064487382769585) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.096684627234936,0.012070454657078,-0.026456078514457,-0.031073771417141,-0.037792790681124,-0.010978266596794,0.160759314894676,0.022171631455421,0.208937928080559,-0.109432697296143,-0.121089778840542,-0.129913553595543,0.014131238684058,-0.138116598129272,-0.120088085532188,0.053709227591753) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.035724896937609,-0.030858464539051,0.020765077322721,0.013454575091600,-0.028331300243735,-0.043171387165785,0.015533511526883,0.042239736765623,-0.000697994080838,-0.047002222388983,-0.044142015278339,0.028613468632102,-0.154213935136795,-0.045200373977423,-0.186501741409302,0.041110292077065) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.009963166899979,0.043395660817623,-0.036328881978989,0.044297698885202,0.082806155085564,0.079968698322773,0.258626550436020,0.054111648350954,0.086410358548164,0.077120408415794,0.162804409861565,-0.142821833491325,-0.037379253655672,-0.002433010376990,0.145732507109642,-0.106264114379883) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.080778583884239,0.088064864277840,0.176394611597061,0.166616678237915,-0.182134017348289,-0.130980163812637,0.066156566143036,0.214854612946510,0.182546839118004,-0.108390755951405,-0.057589013129473,-0.031076839193702,-0.081188686192036,0.162661686539650,-0.002337979385629,-0.025025377050042) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.079318501055241,-0.120991319417953,0.084571599960327,-0.044400576502085,0.049926340579987,-0.012943390756845,-0.222520425915718,-0.007670923601836,-0.106113336980343,-0.025304196402431,0.232901468873024,-0.001495966571383,-0.016162494197488,0.111806847155094,-0.359305888414383,-0.017853362485766) * MODEL10_texOff(vec2(0,1));
res += mat4(0.079874001443386,-0.111985608935356,0.122035093605518,0.017705749720335,0.040981438010931,0.132540330290794,0.333285599946976,-0.079945474863052,0.185077473521233,-0.028595913201571,-0.229765027761459,-0.029742922633886,-0.037899058312178,0.110065191984177,0.072747595608234,0.100101716816425) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.016860952600837,0.019871447235346,0.035658150911331,0.008875189349055,-0.193830594420433,0.279441565275192,0.106448926031590,-0.082112804055214,0.105173021554947,0.010960556566715,0.089421615004539,0.059522900730371,-0.034534893929958,0.174541279673576,0.038787543773651,0.058855008333921) * MODEL10_texOff(vec2(1,0));
res += mat4(0.101450294256210,0.104369565844536,-0.167963638901711,-0.051194656640291,0.061543900519609,0.172755971550941,-0.026330567896366,0.062670014798641,0.016983514651656,0.052289318293333,0.166717708110809,-0.010667948983610,0.122913397848606,0.036662165075541,-0.216802522540092,-0.071673877537251) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.050118692219257,-0.085215374827385,0.051847957074642,0.000394366710680,0.009985506534576,-0.086678855121136,0.123108252882957,0.051077771931887,0.044662807136774,-0.011009951122105,0.101127810776234,0.069122821092606,0.090343274176121,-0.004661883693188,-0.056001722812653,-0.001451107324101) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.070379473268986,-0.532539725303650,-0.013774115592241,0.122321493923664,-0.192394986748695,-0.019210247322917,-0.202732384204865,0.159161120653152,-0.019645432010293,0.071987651288509,-0.105277068912983,0.152351379394531,0.114711977541447,-0.026347011327744,0.008600666187704,-0.061363682150841) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.102615721523762,-0.129378557205200,-0.085113011300564,0.119600571691990,0.190238371491432,-0.123566552996635,-0.145317137241364,0.055312126874924,-0.129358187317848,0.058282300829887,0.036357201635838,0.112883478403091,0.023415518924594,-0.034317702054977,0.030383829027414,-0.091930799186230) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.013864087872207,-0.002788862911984,0.149487733840942,-0.049343604594469,0.062179889529943,0.006087559740990,0.144450753927231,-0.022476352751255,-0.038638394325972,0.031423352658749,-0.050718259066343,0.060809630900621,0.181333720684052,0.028482945635915,-0.063098229467869,-0.051775012165308) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.074408166110516,0.337094157934189,-0.055507063865662,-0.012362615205348,0.072837643325329,0.019156413152814,-0.519982397556305,-0.076995484530926,-0.174839660525322,0.177904009819031,-0.028041521087289,0.099450036883354,0.070434443652630,-0.099952533841133,0.060627695173025,-0.073151715099812) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.136233285069466,0.126615703105927,-0.044271271675825,-0.051913112401962,0.173109531402588,-0.036822736263275,-0.101104550063610,-0.000984344515018,-0.087980620563030,0.177549377083778,-0.114576764404774,0.016320625320077,0.234675168991089,0.117502249777317,-0.036655928939581,-0.020708601921797) * MODEL11_texOff(vec2(0,1));
res += mat4(0.000988850486465,-0.007778492290527,-0.008946199901402,0.037045378237963,0.066722705960274,0.042948231101036,0.056724697351456,0.033128179609776,0.060282025486231,0.016309749335051,0.045001573860645,0.022261936217546,0.101493969559669,-0.164196193218231,0.252473860979080,-0.083207540214062) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.083382934331894,-0.041521046310663,-0.001716310507618,-0.094989188015461,0.045944020152092,-0.056371487677097,0.024271352216601,-0.020003039389849,-0.120288573205471,-0.003321172669530,-0.023184780031443,0.129384189844131,0.293765366077423,-0.010562162846327,-0.102672100067139,-0.156735494732857) * MODEL11_texOff(vec2(1,0));
res += mat4(0.014574195258319,-0.035915482789278,-0.065568231046200,-0.158603131771088,-0.052936933934689,-0.054382152855396,-0.019916947931051,0.072256952524185,0.113260015845299,-0.036186866462231,-0.056542236357927,-0.001809274079278,-0.056557055562735,0.019521052017808,-0.083272628486156,0.034734714776278) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.063757061958313,-0.059540551155806,0.061530143022537,-0.009153755381703,0.006443012971431,0.061531379818916,0.146212190389633,0.166128277778625,0.086657583713531,0.024666903540492,0.053018055856228,-0.141299620270729,0.007074203807861,-0.145640209317207,0.089529775083065,0.048083230853081) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.107518956065178,-0.072049006819725,0.122842580080032,-0.113496251404285,-0.094579957425594,0.008910548873246,-0.142278671264648,0.273912578821182,-0.101707056164742,0.160135284066200,0.137157157063484,0.189492344856262,0.016975626349449,-0.133779942989349,-0.002522285794839,0.160980269312859) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.045322515070438,-0.055904522538185,0.111166641116142,-0.011777604930103,0.003378636203706,0.054719738662243,-0.082536920905113,0.193883076310158,-0.123258650302887,0.013705931603909,0.008645257912576,-0.000950391462538,0.048948243260384,0.129746243357658,-0.140946716070175,0.018491379916668) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.269915014505386,-0.050381589680910,0.576444149017334,-0.049139779061079,-0.067360475659370,0.039685077965260,0.091871306300163,-0.053900405764580,0.023364277556539,0.010122284293175,0.021990988403559,-0.047061990946531,0.033595494925976,-0.218747064471245,0.144848987460136,0.006706118583679) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.272720187902451,0.052707016468048,-0.268749058246613,0.003697085427120,-0.125884324312210,0.093727074563503,0.000725201156456,0.027927028015256,-0.034278791397810,0.111206144094467,0.097868531942368,-0.177765130996704,-0.165174528956413,-0.079360172152519,0.071754232048988,-0.151675224304199) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.147736936807632,-0.079791590571404,0.000367566390196,-0.019372379407287,0.208012267947197,-0.009525664150715,0.122479178011417,-0.093639194965363,-0.144970551133156,0.012322749011219,-0.055624112486839,-0.068546414375305,0.133690491318703,-0.203939288854599,-0.202324017882347,-0.028354847803712) * MODEL12_texOff(vec2(0,1));
res += mat4(0.155613169074059,-0.006733889691532,0.186194702982903,-0.063560351729393,0.045599546283484,0.044945370405912,-0.187972232699394,0.055955570191145,0.085148133337498,0.002133143367246,0.195871859788895,-0.087010249495506,-0.006884971167892,0.089617930352688,0.058927144855261,-0.158456429839134) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.140639290213585,-0.047726679593325,0.227026507258415,-0.047172039747238,0.159636512398720,-0.030192116275430,0.128958091139793,-0.048816621303558,-0.143047541379929,-0.030150115489960,0.043903879821301,-0.380127191543579,0.002201901050285,0.167559027671814,-0.027557229623199,-0.215578868985176) * MODEL12_texOff(vec2(1,0));
res += mat4(0.073531754314899,-0.025257905945182,0.050290476530790,-0.068137176334858,-0.114968262612820,-0.053469281643629,0.181432232260704,0.027463205158710,0.103247798979282,-0.043189022690058,0.016384996473789,-0.093477815389633,0.032604802399874,0.169995516538620,-0.212268158793449,-0.175864458084106) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(-0.091565325856209,0.093616336584091,0.150076389312744,-0.048575062304735) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL5
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 7_5

vec4 hook()
{
vec4 res = vec4(-0.145324796438217,-0.116546809673309,-0.057208165526390,-0.225747972726822);
res += mat4(0.000592693744693,0.037661038339138,-0.207814887166023,-0.010464906692505,-0.015540548600256,0.085433736443520,-0.112178593873978,-0.111275427043438,-0.076292373239994,0.023246647790074,0.037315931171179,-0.031903188675642,-0.222313717007637,0.170246556401253,-0.110571913421154,-0.039633229374886) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.181012138724327,0.117742359638214,0.206059813499451,0.009625000879169,0.211743116378784,-0.119671367108822,-0.187797248363495,-0.224498391151428,-0.060211896896362,0.052729643881321,-0.021018072962761,0.142365083098412,0.089600212872028,0.130229949951172,-0.074200041592121,0.005960170645267) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.066333979368210,0.083294175565243,-0.054869495332241,0.066665336489677,-0.062414664775133,0.012879973277450,-0.094323575496674,-0.064576856791973,-0.049577090889215,0.009983339346945,0.071440689265728,-0.074071288108826,0.095513135194778,-0.000533309241291,0.041668631136417,-0.055893786251545) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.139056697487831,0.085142940282822,-0.239741563796997,-0.033879786729813,-0.001997246406972,-0.028988640755415,-0.008794198743999,-0.037525478750467,0.213586166501045,-0.180434867739677,-0.121375873684883,0.177765816450119,0.105180040001869,-0.155569180846214,-0.149997428059578,0.043533157557249) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.023733522742987,0.272629052400589,0.055832531303167,0.271489828824997,-0.000574454374146,0.009541294537485,-0.087379425764084,-0.108153134584427,-0.034043751657009,0.176895648241043,-0.114007279276848,-0.461488217115402,-0.136045604944229,0.217993780970573,-0.021122271195054,-0.103162370622158) * MODEL7_texOff(vec2(0,0));
res += mat4(0.033712375909090,-0.219423338770866,-0.214053705334663,-0.037993598729372,-0.025660315528512,-0.038231369107962,-0.097749508917332,-0.029760476201773,0.039198417216539,0.098945342004299,0.167701855301857,0.073664799332619,0.002680830890313,0.093863874673843,0.157872661948204,0.107347317039967) * MODEL7_texOff(vec2(0,1));
res += mat4(0.086019970476627,0.034209173172712,0.056426052004099,0.174878120422363,-0.037957381457090,0.051548037678003,-0.040234018117189,0.117606021463871,0.014467285014689,0.089657500386238,0.138552695512772,-0.117441222071648,-0.068180643022060,-0.195707812905312,-0.057583943009377,-0.268788576126099) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.045844364911318,-0.074655279517174,-0.001861789263785,-0.150344833731651,0.201062932610512,-0.162322789430618,0.276298373937607,0.385970473289490,-0.051555406302214,0.159820437431335,-0.124400570988655,0.066302843391895,-0.022852433845401,-0.035621598362923,-0.070811621844769,0.139518573880196) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.039159473031759,0.048710733652115,-0.244600579142570,0.072982698678970,0.017317429184914,0.033740289509296,0.117647700011730,0.034616764634848,0.060398399829865,0.070093914866447,0.038590084761381,0.039712514728308,0.058388553559780,-0.135460451245308,0.123301491141319,-0.004026868380606) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.008769521489739,-0.023786310106516,-0.090224288403988,0.064929641783237,0.039988365024328,0.034220084547997,0.029203752055764,-0.032037153840065,0.041609480977058,0.050326324999332,-0.005128140561283,-0.072498679161072,-0.039665311574936,0.021430063992739,-0.170347973704338,0.003714498830959) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.077141560614109,-0.020854819566011,0.131326347589493,-0.085717976093292,0.097687467932701,-0.058623794466257,-0.110927082598209,-0.071496643126011,0.057400509715080,0.140300124883652,0.048223245888948,-0.038834311068058,-0.012976756319404,-0.140484675765038,-0.308399945497513,-0.143234878778458) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.085846900939941,-0.079137086868286,-0.023154286667705,-0.015116492286325,0.075140506029129,-0.057876899838448,-0.024709267541766,0.002195429056883,0.025370609015226,0.051115531474352,0.099621370434761,0.105155743658543,0.005209186580032,-0.068171709775925,-0.039877958595753,-0.081992797553539) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.039279386401176,0.039996460080147,-0.108195155858994,0.103352367877960,-0.099855720996857,-0.003454635851085,0.081868499517441,0.060940407216549,-0.129756674170494,0.086149886250496,-0.347944766283035,0.122320428490639,0.020118532702327,-0.175012379884720,0.098168127238750,0.050744220614433) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.045428335666656,-0.055311769247055,-0.273600816726685,0.186853930354118,-0.593166470527649,-0.218504652380943,0.122105047106743,0.046152662485838,-0.270255446434021,-0.227516412734985,-0.087289862334728,-0.106832005083561,0.102618277072906,0.258205384016037,-0.058954227715731,0.470126301050186) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.010627239011228,0.088706545531750,0.121700130403042,0.091335780918598,-0.043355297297239,0.176707997918129,-0.003848355263472,0.137406885623932,-0.010581648908556,-0.139977142214775,-0.088223390281200,-0.086237266659737,-0.005602680146694,-0.003763620741665,-0.242852613329887,-0.003175813937560) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.084817893803120,-0.053458765149117,0.048910155892372,-0.118022367358208,0.021740894764662,0.061189044266939,0.004661459010094,-0.128457263112068,0.032871529459953,-0.003653803141788,0.129936650395393,-0.038202241063118,-0.042697105556726,0.003735767677426,-0.043086059391499,-0.158492580056190) * MODEL8_texOff(vec2(1,-1));
res += mat4(-0.006565191317350,-0.004690713249147,-0.291707724332809,0.224958643317223,0.332918524742126,-0.159412562847137,-0.075393691658974,-0.035455055534840,0.018140006810427,-0.017091769725084,0.085369959473610,0.234710678458214,-0.107070975005627,-0.078353658318520,-0.017895447090268,-0.264399230480194) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.017074467614293,0.074711270630360,0.040030665695667,0.129969149827957,0.011045866645873,-0.013522745110095,0.003071556566283,-0.080294139683247,0.059736125171185,0.042751200497150,0.034888967871666,0.031443964689970,-0.008327435702085,-0.064716562628746,-0.030415661633015,0.043333094567060) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.022733073681593,-0.034284383058548,-0.026673831045628,0.095376498997211,0.049456704407930,-0.019904587417841,-0.008097720332444,-0.047937296330929,0.006482964847237,-0.052970964461565,0.163732439279556,0.040435597300529,0.076153248548508,0.016231656074524,0.098828919231892,0.010193663649261) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.104138948023319,0.000004525999429,0.049929514527321,-0.033656988292933,0.117343038320541,0.097436107695103,0.089959561824799,-0.002115468960255,0.049136329442263,-0.042163483798504,0.143134981393814,0.031903095543385,0.212067678570747,-0.040585957467556,0.235270142555237,-0.077786855399609) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.102036476135254,0.015225286595523,-0.118212215602398,0.146470367908478,0.045001596212387,0.035382322967052,0.071669645607471,0.039346311241388,0.006073690950871,0.079703502357006,0.409832775592804,-0.130903050303459,0.069322220981121,0.007739956490695,0.019218513742089,0.002282076748088) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.010515678673983,0.058995448052883,-0.132647112011909,0.179211407899857,-0.055491745471954,-0.026406666263938,-0.297295331954956,0.066769234836102,0.046637706458569,0.042154982686043,0.104440249502659,0.093262553215027,-0.014604994095862,0.057984344661236,-0.060232132673264,0.064940072596073) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.051095381379128,0.007974926382303,-0.021136930212379,0.339196860790253,0.039051700383425,0.044341467320919,0.057861376553774,0.045287538319826,-0.176737204194069,-0.114645019173622,-0.058961052447557,-0.005211052019149,-0.510774910449982,0.049297690391541,0.087095543742180,-0.192643612623215) * MODEL9_texOff(vec2(0,0));
res += mat4(0.117443583905697,-0.023863974958658,-0.189654901623726,0.116983965039253,0.032659061253071,-0.075799874961376,-0.085692666471004,-0.059958342462778,-0.046588759869337,0.054257582873106,0.184999838471413,0.019726004451513,-0.033197179436684,-0.193872436881065,-0.045906711369753,-0.147824570536613) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.110616050660610,-0.004428368527442,0.048797313123941,0.060354799032211,0.063812114298344,0.021221956238151,-0.304533213376999,0.167604073882103,-0.008291532285511,-0.022402551025152,0.239919245243073,0.105202481150627,0.028347894549370,0.062025263905525,-0.057560507208109,0.012829353101552) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.056512154638767,0.008700055070221,-0.303473770618439,-0.015687277540565,0.028829008340836,-0.073947444558144,-0.508661687374115,0.124682351946831,-0.055815558880568,0.149879708886147,0.119500376284122,-0.056831706315279,0.042521622031927,-0.154408201575279,-0.114557348191738,0.027605667710304) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.029877923429012,-0.094131648540497,-0.057518415153027,-0.052361112087965,0.044076289981604,-0.118292383849621,0.003155892482027,-0.073902942240238,-0.135818704962730,-0.113144181668758,0.044172573834658,-0.075525008141994,-0.092554755508900,-0.103667832911015,-0.015209246426821,-0.059379842132330) * MODEL9_texOff(vec2(1,1));
res += mat4(0.072782941162586,0.018627239391208,0.072954967617989,0.027098529040813,0.059449411928654,0.046133629977703,0.168472021818161,-0.011282346211374,-0.385543525218964,0.032345231622458,0.103469073772430,0.036047492176294,-0.024473991245031,0.046904142946005,-0.050704661756754,0.097472138702869) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.104086220264435,0.126407444477081,-0.100034624338150,0.166669592261314,0.004096118267626,0.033865455538034,-0.067203417420387,0.019194364547729,0.141441404819489,0.086444288492203,0.033154997974634,0.020333727821708,0.003099017543718,0.039236448705196,-0.013014405034482,0.157506734132767) * MODEL10_texOff(vec2(-1,0));
res += mat4(0.010360860265791,-0.045831784605980,0.091386571526527,-0.096469633281231,-0.019157962873578,-0.023365778848529,-0.044052284210920,0.033493377268314,0.069367907941341,-0.006564427167177,0.029033239930868,-0.045411042869091,-0.046136848628521,0.047656863927841,0.162044480443001,0.057378698140383) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.330682128667831,-0.058962851762772,-0.056456796824932,0.173313438892365,-0.084420152008533,0.113849252462387,0.193192139267921,-0.027270155027509,-0.146905690431595,-0.183606833219528,-0.145524367690086,-0.199461966753006,0.177284479141235,-0.045510143041611,-0.006833499763161,-0.023822361603379) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.051762498915195,-0.107505850493908,-0.085894435644150,-0.247352033853531,-0.225041583180428,-0.075323991477489,-0.053949672728777,0.079427100718021,-0.026134248822927,-0.016174903139472,0.119459636509418,0.101115219295025,-0.168328881263733,-0.152703881263733,0.111570015549660,-0.294640243053436) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.057363983243704,-0.016143206506968,0.037402514368296,-0.082773722708225,-0.091800734400749,-0.077426798641682,0.018368922173977,0.059077490121126,-0.060271903872490,0.201259732246399,0.056397803127766,0.072223603725433,0.073092922568321,0.122153453528881,0.183709159493446,0.140057310461998) * MODEL10_texOff(vec2(0,1));
res += mat4(0.088167525827885,0.133227184414864,-0.091751106083393,0.049408435821533,0.193658977746964,0.073378331959248,-0.202970802783966,-0.068483687937260,-0.021171037107706,0.032863233238459,0.058239363133907,0.180694133043289,-0.037984836846590,0.048797853291035,0.003704420989379,0.002950342604890) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.015220521949232,0.000138692877954,-0.166080534458160,-0.075786352157593,0.183691009879112,-0.173566207289696,0.242886170744896,-0.033279456198215,-0.040249492973089,-0.114637300372124,0.064707227051258,-0.049847207963467,0.143321037292480,-0.140747487545013,0.161307618021965,0.223520055413246) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.000430124578997,0.074951082468033,-0.052518725395203,0.153412356972694,0.211610734462738,-0.039495684206486,0.123151749372482,-0.042850356549025,-0.046294879168272,-0.049400635063648,-0.050181739032269,0.032031975686550,0.123323783278465,0.130378589034081,0.206353217363358,-0.099329985678196) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.003490658476949,0.006558392662555,0.010122027248144,0.026810033246875,-0.067338258028030,-0.018631067126989,0.062959715723991,0.000508227909449,0.032868769019842,-0.021119641140103,0.111913777887821,0.010889994911849,0.089140117168427,0.010008275508881,0.044853325933218,-0.038541048765182) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.146472305059433,0.071399018168449,0.098158337175846,0.083259910345078,0.223949670791626,-0.010956598445773,-0.068157255649567,-0.027148775756359,0.190652400255203,0.019924262538552,-0.147234395146370,-0.006179590243846,-0.045661322772503,-0.007939023897052,0.199371159076691,-0.033225707709789) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.216198951005936,0.084916703402996,0.011099400930107,0.050049964338541,-0.158204913139343,-0.028083477169275,-0.111291691660881,-0.110223494470119,0.034997671842575,-0.000468232174171,-0.160052984952927,0.009598784148693,-0.085984513163567,-0.012703591026366,-0.111858583986759,0.013860691338778) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.032957863062620,-0.052080851048231,-0.210960507392883,-0.064199879765511,0.037161193788052,-0.051478073000908,-0.087752863764763,-0.102356880903244,0.053190726786852,0.020516831427813,-0.015023872256279,-0.050573922693729,0.180875122547150,0.053452860563993,0.133465722203255,0.009626705199480) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.127569794654846,0.181434363126755,0.014990361407399,-0.260220050811768,0.055790215730667,0.077750101685524,-0.110649041831493,0.220941066741943,-0.390071302652359,0.224430948495865,-0.037017524242401,0.002956285374239,0.256547629833221,0.211371898651123,-0.024144181981683,-0.007981860078871) * MODEL11_texOff(vec2(0,0));
res += mat4(0.181284815073013,-0.393092930316925,-0.058423083275557,-0.194058910012245,-0.075888127088547,0.236932799220085,0.054595347493887,0.030232828110456,-0.020211288705468,-0.411626964807510,0.001963683171198,-0.142563387751579,-0.005938709713519,-0.037812121212482,-0.187438741326332,-0.024576373398304) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.020990241318941,0.001367960125208,0.055766433477402,0.034273952245712,-0.029873616993427,-0.058867778629065,0.079978846013546,0.061900123953819,0.000053517895140,0.017993081361055,-0.068218223750591,-0.000519243534654,-0.063345029950142,0.051303908228874,0.074271947145462,-0.182584330439568) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.130533888936043,0.059113588184118,-0.164661139249802,-0.142633885145187,-0.105560801923275,0.064104571938515,-0.048531096428633,-0.152037024497986,-0.017336711287498,0.192317903041840,-0.133319810032845,0.060146693140268,-0.081504434347153,0.106570005416870,-0.013355633243918,-0.000028060389013) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.099525608122349,0.072488300502300,-0.015587582252920,-0.008120513521135,0.051187586039305,-0.077284075319767,0.093467123806477,-0.002583818743005,0.057534482330084,-0.133230224251747,-0.041694711893797,-0.059919189661741,0.075028114020824,-0.009711538441479,0.055052567273378,-0.130326822400093) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.023799506947398,0.024834550917149,-0.016149697825313,0.043076355010271,-0.138186722993851,-0.005902121774852,0.018693516030908,0.071952298283577,0.070969589054585,-0.051204945892096,0.103804476559162,-0.101512230932713,-0.011967047117651,-0.036476835608482,-0.172168642282486,-0.061619121581316) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.096850238740444,0.027222363278270,-0.337345182895660,0.013169770129025,-0.360598176717758,-0.032836671918631,0.089749574661255,-0.000876761972904,0.099467523396015,0.115770906209946,-0.025385314598680,-0.009275436401367,-0.215687587857246,0.138668611645699,0.044917937368155,0.102033495903015) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.014810474589467,0.011104049161077,0.116958692669868,-0.097273774445057,0.039465799927711,0.034545086324215,0.057909987866879,0.156589150428772,-0.034374598413706,-0.088915392756462,0.027963172644377,0.094270490109921,-0.111346438527107,0.006020456086844,0.005961074028164,0.072867982089520) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.132950037717819,-0.018870959058404,-0.038657255470753,-0.114977873861790,0.045918297022581,0.003620091127232,-0.137364327907562,-0.153988793492317,0.057476267218590,0.022899966686964,0.047455076128244,0.024168232455850,-0.067149244248867,-0.075357623398304,0.161893501877785,0.052451655268669) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.131352663040161,0.039653979241848,0.096658982336521,-0.266559123992920,0.230380102992058,0.009168667718768,-0.129511594772339,-0.291499346494675,0.009654288180172,-0.169667050242424,-0.154770880937576,0.009561609476805,-0.235429301857948,-0.039126444607973,0.231928899884224,-0.284181624650955) * MODEL12_texOff(vec2(0,0));
res += mat4(0.154532283544540,0.071453921496868,0.083464913070202,0.092426910996437,0.100927278399467,-0.132944017648697,-0.028746442869306,-0.109711840748787,0.083186142146587,0.040275454521179,-0.017714804038405,0.003345047356561,0.088059917092323,-0.157574594020844,-0.003325088415295,0.012541661038995) * MODEL12_texOff(vec2(0,1));
res += mat4(0.106657803058624,-0.009297353215516,-0.046837478876114,0.175906538963318,-0.131661921739578,0.009803850203753,0.185307413339615,-0.033038076013327,0.151190936565399,-0.057728756219149,0.096238017082214,0.091476544737816,0.065657131373882,-0.121601082384586,0.064774543046951,0.023461280390620) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.125806912779808,0.032752010971308,-0.081538699567318,0.007688495796174,-0.128540620207787,-0.085512094199657,-0.049876756966114,0.053288560360670,-0.101055115461349,0.125852003693581,-0.015985013917089,-0.292955398559570,0.218165710568428,-0.029152147471905,-0.074781425297260,-0.016275644302368) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.164588198065758,0.039495836943388,0.076157376170158,0.050843182951212,-0.078903518617153,0.107516281306744,0.199742197990417,-0.063459463417530,0.076344229280949,-0.110297434031963,0.115415722131729,-0.001853314228356,0.066353186964989,-0.037553507834673,0.073740735650063,-0.100341834127903) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.016176089644432,-0.243993550539017,0.152916058897972,0.156323641538620) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE MODEL6
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 7_6

vec4 hook()
{
vec4 res = vec4(-0.139749109745026,0.077955961227417,0.056510381400585,-0.059751875698566);
res += mat4(-0.037381850183010,0.019395232200623,0.013312630355358,0.074538171291351,-0.036859516054392,-0.011463542468846,0.178842306137085,-0.009911430068314,0.113303050398827,-0.026595585048199,0.086358949542046,-0.146155074238777,-0.340243756771088,-0.001229672343470,0.162910431623459,0.007204534020275) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.020821874961257,0.034406155347824,0.156073242425919,0.029356755316257,0.077143289148808,-0.029823843389750,0.078103274106979,0.031868182122707,0.231773838400841,-0.039651937782764,0.033175073564053,-0.016800457611680,-0.108489789068699,-0.017986042425036,-0.137306436896324,0.009478715248406) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.027585335075855,0.006692566443235,-0.098216220736504,-0.014057885855436,0.094427824020386,-0.001309864455834,0.071597993373871,0.043509561568499,-0.070043697953224,-0.050618857145309,-0.013363291509449,0.094954073429108,0.031488899141550,-0.012898756191134,-0.025219649076462,0.089202098548412) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.102571554481983,-0.001406662398949,-0.118790902197361,-0.001349954400212,0.018392642959952,0.019995253533125,0.023758126422763,0.014786552637815,-0.100182652473450,0.025663850829005,0.126107275485992,-0.196371629834175,0.127400204539299,-0.053873572498560,-0.258578270673752,-0.048950735479593) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.031355734914541,0.037853699177504,-0.120390385389328,-0.234819963574409,-0.633770108222961,0.102063402533531,0.201729014515877,0.034937880933285,0.119653195142746,-0.076871030032635,-0.163690298795700,-0.243839278817177,-0.200793504714966,-0.010414233431220,0.260562479496002,0.063734896481037) * MODEL7_texOff(vec2(0,0));
res += mat4(0.088848888874054,0.032479815185070,-0.106475204229355,-0.192489340901375,0.056329291313887,0.055387970060110,-0.016319651156664,-0.062984637916088,-0.051711443811655,-0.032796591520309,-0.056216955184937,-0.014204887673259,-0.053801700472832,0.010454867035151,0.218666449189186,-0.001409084885381) * MODEL7_texOff(vec2(0,1));
res += mat4(0.146015867590904,0.014772051945329,0.041913617402315,-0.229607626795769,0.173420712351799,0.001786420121789,-0.264608412981033,-0.047115016728640,0.046415317803621,0.000164349607076,0.112891152501106,-0.219876900315285,-0.097402602434158,-0.028139993548393,0.158631309866905,0.195561632514000) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.008192662149668,0.037507943809032,0.082002632319927,-0.175589695572853,0.405962198972702,0.034113775938749,-0.383782595396042,-0.048710953444242,-0.137053549289703,-0.045980412513018,0.075552545487881,0.010373858734965,0.205219969153404,-0.007429806981236,-0.184960305690765,0.114322632551193) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.021979661658406,0.008886474184692,-0.041379608213902,-0.091950960457325,0.072830080986023,0.045662008225918,-0.050466246902943,0.073412932455540,0.144336923956871,-0.003079199697822,0.060236364603043,0.005689119920135,0.224499911069870,0.013051725924015,-0.105553828179836,0.035764783620834) * MODEL7_texOff(vec2(1,1));
res += mat4(0.174921631813049,0.007799709215760,-0.171524420380592,0.057526998221874,0.025627600029111,0.003870303509757,-0.068460293114185,0.020684683695436,-0.072444885969162,0.000738990434911,0.177713081240654,-0.022334748879075,0.035915106534958,-0.034208368510008,-0.031267028301954,-0.123374067246914) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.043343644589186,-0.008731578476727,-0.203973054885864,0.018549518659711,-0.052355997264385,0.008696298114955,0.041922759264708,0.000318908598274,-0.078822389245033,0.042992636561394,0.243948400020599,-0.130591884255409,0.043048691004515,-0.233114793896675,-0.321772396564484,0.144498571753502) * MODEL8_texOff(vec2(-1,0));
res += mat4(-0.047015942633152,0.012949111871421,0.103331744670868,-0.055184990167618,-0.021232025697827,-0.017816012725234,0.063602127134800,-0.002010321943089,0.034598574042320,-0.009751223959029,-0.039762102067471,-0.095889322459698,0.007914514280856,0.030663415789604,0.081688463687897,0.026099750772119) * MODEL8_texOff(vec2(-1,1));
res += mat4(-0.051411285996437,0.014442519284785,0.129131406545639,-0.196302846074104,-0.062243599444628,0.029689215123653,0.013437408022583,0.019318828359246,-0.039086431264877,-0.001949725556187,-0.148876339197159,-0.114554896950722,0.057153966277838,0.030665954574943,-0.119299232959747,-0.021671997383237) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.213854178786278,0.007717712782323,0.027010044082999,0.014402708970010,-0.222831740975380,0.085961170494556,-0.634031057357788,0.001809541368857,0.184053316712379,-0.189246967434883,-0.341216981410980,0.164919838309288,-0.011702827177942,-0.036084525287151,0.106388144195080,-0.057559713721275) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.083021394908428,-0.014348124153912,-0.023155651986599,0.045810759067535,-0.152746185660362,0.001876543392427,0.013530658558011,0.032312981784344,0.017184773460031,0.014710708521307,-0.157936587929726,-0.001109160948545,-0.133666411042213,0.092711761593819,0.059677653014660,0.082175701856613) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.151652470231056,-0.006584367714822,-0.138378381729126,-0.070721492171288,-0.064476877450943,0.049515359103680,0.007222742307931,-0.059833452105522,0.013145742006600,0.103297553956509,-0.121298350393772,0.005214306991547,-0.068563237786293,-0.035348009318113,0.037592660635710,0.036072865128517) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.076875545084476,0.027661379426718,-0.223064109683037,-0.221286892890930,0.416929841041565,0.015160714276135,0.057034935802221,0.067022584378719,0.009319957345724,0.289709895849228,-0.086293555796146,-0.039692264050245,-0.134426712989807,-0.025230485945940,0.051812324672937,0.097915768623352) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.112981371581554,-0.005558372475207,-0.261971384286880,-0.104046627879143,-0.002929518930614,-0.013890083879232,0.050246946513653,-0.011696466244757,0.041439272463322,-0.005908718332648,0.069746859371662,0.063528150320053,-0.099383644759655,0.016870507970452,-0.000989178079180,-0.067883677780628) * MODEL8_texOff(vec2(1,1));
res += mat4(0.002951021771878,0.008166193030775,-0.029737979173660,0.088378012180328,0.016466954723001,0.022355910390615,0.000642242375761,0.003115418599918,0.038550131022930,0.015718482434750,0.093852378427982,0.012668943963945,0.048181250691414,0.055958356708288,-0.048431713134050,0.034181363880634) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.016037400811911,0.049520432949066,0.004715603776276,-0.043722476810217,0.044147845357656,0.049991440027952,0.213642641901970,-0.050142351537943,-0.039493538439274,-0.015117387287319,0.003683007555082,-0.083901196718216,0.051877953112125,0.103726148605347,0.087461456656456,0.062642276287079) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.012984765693545,0.031201723963022,0.026461236178875,-0.104822225868702,0.063236027956009,0.020128728821874,0.056545287370682,-0.147071525454521,-0.120078310370445,-0.030193042010069,-0.146161898970604,-0.003595985937864,0.154993563890457,0.085032381117344,0.098133325576782,-0.050974961370230) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.020201534032822,0.021909095346928,-0.076660260558128,-0.083095759153366,0.012714018113911,-0.006445488426834,-0.201919004321098,-0.030924463644624,0.091451816260815,0.021786229684949,-0.072300791740417,-0.162468999624252,0.074428699910641,0.008672581985593,0.065237075090408,-0.082286708056927) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.148725405335426,0.004699775017798,-0.070829704403877,-0.018576206639409,0.151554182171822,-0.000304630520986,-0.081692799925804,-0.100782804191113,0.087119869887829,-0.032460350543261,-0.077596351504326,0.001840257202275,-0.222806572914124,-0.801369667053223,0.047845199704170,0.242842823266983) * MODEL9_texOff(vec2(0,0));
res += mat4(0.150523602962494,-0.000813758524600,-0.099766276776791,-0.056130129843950,0.024150785058737,0.010777358897030,-0.021676553413272,0.037541966885328,-0.007754490245134,-0.065288543701172,-0.206921726465225,0.248769491910934,-0.023060748353601,0.131682679057121,-0.038916401565075,-0.160748943686485) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.102822706103325,0.012031618505716,-0.117249108850956,0.012609330005944,-0.146702840924263,-0.020727487280965,0.142184048891068,0.015431444160640,-0.077433191239834,0.004735820461065,0.003723344765604,-0.019219825044274,-0.033611111342907,0.027386883273721,0.060015179216862,-0.056749295443296) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.103215850889683,-0.001668201526627,0.079476356506348,0.104849271476269,-0.614578664302826,-0.036356382071972,0.201655179262161,0.030372181907296,0.060684364289045,-0.048076793551445,-0.049606796354055,0.074281029403210,0.170220285654068,-0.079196684062481,-0.155153334140778,0.124361626803875) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.288855761289597,-0.043723672628403,-0.015773331746459,0.042247362434864,-0.177630811929703,0.012672096490860,-0.010329003445804,0.001754743861966,0.140135094523430,-0.018642297014594,-0.242127299308777,-0.092271588742733,-0.106589704751968,0.075593166053295,-0.083125263452530,-0.095785647630692) * MODEL9_texOff(vec2(1,1));
res += mat4(0.170258015394211,0.028910687193274,-0.012950171716511,-0.053488116711378,0.007045864127576,-0.022812979295850,0.055470220744610,-0.077756516635418,-0.065688088536263,-0.008100710809231,-0.035182103514671,0.155207976698875,0.053963344544172,-0.005285258404911,0.002679278142750,-0.009589187800884) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.080958798527718,-0.017915870994329,0.063611872494221,-0.071896404027939,0.046330057084560,-0.051296070218086,-0.031443390995264,0.034290932118893,0.033824965357780,-0.017328066751361,-0.035048235207796,0.016124110668898,0.069847814738750,-0.040465373545885,-0.020417243242264,0.055698100477457) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.029409743845463,-0.020397895947099,-0.087860450148582,0.048678878694773,-0.031511913985014,-0.008174034766853,0.032773852348328,0.010799562558532,-0.015157997608185,0.003500857390463,0.000000807489414,-0.004070861265063,0.056824069470167,-0.019230809062719,-0.177244141697884,0.073483482003212) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.163622796535492,0.010209107771516,-0.004344922956079,-0.158332347869873,0.001876976341009,-0.049190908670425,-0.204496160149574,-0.040936630219221,0.137454912066460,0.045545674860477,-0.017079735174775,0.168053478002548,0.062182687222958,0.013613793998957,-0.012710029259324,-0.033177424222231) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.031384080648422,0.004829078912735,-0.060125015676022,0.079637318849564,-0.060178343206644,-0.058732170611620,-0.187815099954605,0.028229823336005,0.062490016222000,0.003826060332358,-0.115166269242764,0.041307073086500,-0.160332679748535,-0.025378927588463,0.039143424481153,0.130811616778374) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.102288164198399,0.008803606964648,0.131343483924866,0.059113323688507,0.019858632236719,0.011582636274397,-0.085470467805862,-0.015507332980633,-0.009021786041558,-0.055292006582022,0.039027925580740,0.151103958487511,-0.072467096149921,-0.007591315079480,0.018250482156873,-0.014366332441568) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.180583596229553,0.008205381222069,0.382591277360916,-0.094975531101227,0.117119759321213,-0.023079082369804,0.140420228242874,-0.129325926303864,-0.141713365912437,0.027849053964019,-0.197066500782967,-0.074230447411537,-0.117524899542332,0.025477314367890,0.074260190129280,0.132924005389214) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.226113185286522,-0.018001504242420,0.048326499760151,0.023408360779285,0.354048162698746,-0.037777878344059,0.198562279343605,0.162114322185516,-0.074987523257732,0.036882124841213,0.168060153722763,-0.044061973690987,0.249801337718964,0.008416735567153,0.031351789832115,0.054741799831390) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.102958023548126,0.012341598048806,0.005200404673815,-0.087855242192745,0.148915365338326,0.035818453878164,0.141469299793243,0.038608551025391,0.003149882657453,-0.042976811528206,0.021705925464630,0.077895067632198,0.147929444909096,-0.000006140422556,-0.037500772625208,0.151770487427711) * MODEL10_texOff(vec2(1,1));
res += mat4(0.014967873692513,-0.024974709376693,0.011789429001510,0.035661660134792,-0.080550089478493,-0.027703270316124,0.067170992493629,0.032994247972965,-0.021409612149000,0.003275662660599,0.069179624319077,-0.000152707041707,0.063046850264072,0.019651047885418,-0.072158634662628,0.045731816440821) * MODEL11_texOff(vec2(-1,-1));
res += mat4(-0.025720085948706,-0.011057434603572,0.002526499563828,0.031860925257206,-0.082417950034142,0.027415610849857,0.090617939829826,-0.087188079953194,-0.142404362559319,-0.032896809279919,0.116151966154575,0.065828785300255,-0.021706843748689,0.046811394393444,0.125016346573830,0.066231362521648) * MODEL11_texOff(vec2(-1,0));
res += mat4(0.003547118511051,0.019837740808725,-0.068650566041470,-0.047819234430790,-0.086398772895336,0.051073905080557,-0.009983901865780,0.078509129583836,-0.131687149405479,-0.019860105589032,0.107842504978180,0.074998758733273,-0.015625515952706,0.000165602163179,-0.046188168227673,0.030690032988787) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.077394723892212,-0.072021983563900,0.031979918479919,0.074914865195751,0.117298416793346,-0.006249500438571,-0.112491123378277,-0.060760971158743,0.051656816154718,-0.015495560131967,0.003995780833066,-0.092001713812351,0.053210895508528,0.006462270859629,-0.030601346865296,0.075589418411255) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.115289166569710,-0.089742146432400,-0.098797529935837,0.095948375761509,0.166675493121147,0.002640957245603,-0.237965911626816,-0.272142708301544,-0.106172561645508,-0.075912274420261,-0.443293541669846,0.178396880626678,0.016248269006610,0.063017100095749,0.066803850233555,-0.100451394915581) * MODEL11_texOff(vec2(0,0));
res += mat4(0.225313022732735,-0.027196222916245,-0.085248827934265,-0.010073643177748,-0.222492158412933,0.103096790611744,0.107391521334648,0.062482804059982,0.031270816922188,-0.049777619540691,-0.337280571460724,0.261339724063873,-0.064288154244423,0.026988405734301,0.047135319560766,-0.113889530301094) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.005510539282113,-0.029269443824887,0.039490770548582,0.045987635850906,-0.004445507191122,0.015916595235467,0.076867677271366,0.028355661779642,0.023858115077019,-0.016835972666740,0.031732279807329,0.007964015938342,-0.213784381747246,-0.011863157153130,0.000539088621736,0.315247863531113) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.263063848018646,-0.037772107869387,0.199247464537621,-0.031431220471859,-0.122399672865868,-0.013525566086173,0.061305675655603,-0.018358012661338,-0.034624204039574,-0.065174758434296,0.045614503324032,0.058936256915331,-0.095894120633602,0.028430258855224,-0.052336573600769,0.077259831130505) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.149854108691216,-0.019201397895813,0.005376084707677,-0.009249149821699,0.044310208410025,-0.008371043950319,-0.019102044403553,-0.082329615950584,0.015895616263151,-0.060234423726797,-0.063987091183662,0.084318146109581,-0.010974138975143,0.034264583140612,0.022150103002787,-0.037791360169649) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.101011760532856,-0.028185168281198,0.157427936792374,-0.037123516201973,-0.081602305173874,-0.007902959361672,0.040208142250776,-0.072571903467178,0.087409958243370,-0.025092601776123,0.082830548286438,-0.012241619639099,-0.152312502264977,-0.020392073318362,-0.014907724224031,-0.030034672468901) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.087730079889297,-0.009246202185750,-0.162203744053841,0.094605870544910,-0.010108887217939,-0.000882321852259,0.006682672072202,-0.000519758963492,0.001820504083298,-0.010808737017214,0.164027124643326,-0.104978241026402,-0.232638627290726,-0.028293265029788,-0.038535773754120,0.007503891829401) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.044349085539579,-0.005459672305733,-0.025143355131149,-0.023511292412877,0.164003923535347,0.013092682696879,0.063542798161507,-0.029654687270522,-0.018965566530824,-0.020237570628524,-0.013333087787032,0.104457035660744,-0.060565669089556,-0.030258867889643,-0.075554341077805,-0.141131594777107) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.071006208658218,-0.033766206353903,-0.182867854833603,0.138221383094788,0.114423640072346,-0.001004861202091,-0.244956120848656,0.035834934562445,-0.003063543466851,0.003989890683442,0.000699219119269,-0.067577391862869,0.055533941835165,-0.028635213151574,0.007509493734688,-0.044302843511105) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.059706501662731,-0.038050211966038,0.001593512366526,-0.067310482263565,0.119149237871170,-0.004609520547092,-0.169967859983444,-0.055296860635281,0.008446698077023,-0.035907644778490,-0.156082600355148,0.053653053939342,-0.151642918586731,-0.006993502844125,-0.203340098261833,0.160968855023384) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.009102838113904,-0.083118595182896,0.071142449975014,0.011067444458604,0.028186971321702,-0.003972919657826,-0.029428705573082,0.034981369972229,0.012326447293162,0.000092873029644,0.069345742464066,0.084278933703899,0.155377313494682,-0.069307744503021,-0.153698772192001,-0.071556702256203) * MODEL12_texOff(vec2(0,1));
res += mat4(0.266318172216415,-0.000626347435173,0.007030603941530,-0.132963985204697,-0.046985127031803,0.007438276428729,0.064886070787907,-0.238049954175949,0.137594357132912,0.009987865574658,0.124289907515049,-0.016903258860111,0.148896679282188,-0.045659583061934,-0.173420041799545,0.010452784597874) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.195456355810165,-0.047911733388901,0.123684741556644,0.169935464859009,0.129185110330582,-0.010871064849198,-0.095595479011536,-0.113074354827404,0.120419442653656,-0.036448072642088,0.205848306417465,0.158606380224228,0.307283192873001,-0.079034931957722,-0.023778155446053,0.098974198102951) * MODEL12_texOff(vec2(1,0));
res += mat4(-0.166333675384521,-0.013888887129724,-0.194203376770020,0.072602272033691,-0.037209179252386,-0.010517885908484,-0.024321325123310,0.075452312827110,0.255226612091064,-0.035647649317980,0.026095315814018,0.032876700162888,0.076243862509727,-0.056358128786087,0.080398842692375,-0.037609074264765) * MODEL12_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.056051075458527,0.815669059753418,0.022843245416880,-0.123197942972183) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL7
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 8_1

vec4 hook()
{
vec4 res = vec4(-0.336991071701050,-0.008883175440133,-0.013485548086464,-0.293267011642456);
res += mat4(0.058837298303843,-0.030873175710440,0.023521097376943,0.034480087459087,0.028471175581217,-0.032911371439695,0.017243433743715,0.104350030422211,0.046938259154558,-0.101232461631298,0.032842669636011,-0.021552359685302,0.016648210585117,-0.055415958166122,0.025323215872049,0.047683764249086) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.068966828286648,-0.001734528690577,-0.030444553121924,0.141962230205536,-0.058355282992125,-0.092097595334053,-0.084573514759541,-0.195354491472244,-0.093707442283630,0.058989685028791,-0.001201945007779,0.003545513143763,0.049047771841288,-0.133346199989319,-0.171640500426292,-0.104860484600067) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.025567151606083,-0.013161728158593,-0.006769099738449,-0.049458008259535,-0.054094500839710,0.081053748726845,0.008373731747270,0.015634825453162,-0.013371205888689,0.024598451331258,-0.092281997203827,-0.145440310239792,-0.036443356424570,0.063722178339958,0.065602943301201,0.000187840589206) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.142258986830711,-0.001823903061450,-0.003948603756726,-0.000170398459886,-0.125079765915871,0.040575761348009,-0.110000900924206,-0.071599133312702,-0.128775686025620,0.137880846858025,-0.084725484251976,0.032557006925344,0.018849983811378,0.046060170978308,-0.059450477361679,0.029161227867007) * MODEL1_texOff(vec2(0,-1));
res += mat4(0.175782680511475,0.046656168997288,0.069498650729656,0.077943913638592,-0.185036361217499,-0.088918715715408,0.303276449441910,-0.148225441575050,0.159730508923531,-0.148630484938622,0.139193519949913,0.197544902563095,-0.016912812367082,0.030792869627476,0.166013196110725,0.107800528407097) * MODEL1_texOff(vec2(0,0));
res += mat4(0.028210144490004,0.009576139040291,0.008651159703732,0.097756765782833,0.013375685550272,-0.062945678830147,-0.063873440027237,0.011092985048890,-0.046039368957281,-0.016757456585765,-0.230917736887932,-0.024536807090044,0.026851415634155,-0.020679218694568,-0.026586649939418,-0.021418184041977) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.035032171756029,-0.029091088101268,0.031807798892260,0.074489206075668,0.110930196940899,0.065040126442909,0.065414823591709,0.013649915345013,-0.092914298176765,0.012709830887616,-0.054051544517279,-0.198349118232727,-0.048014145344496,-0.051120635122061,0.032747041434050,0.089644685387611) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.272594720125198,-0.014557010494173,0.000443176279077,-0.109402939677238,-0.083468064665794,0.178054302930832,-0.145257696509361,-0.007306023035198,0.017017837613821,-0.004746064543724,-0.071030035614967,-0.053246606141329,-0.051171422004700,0.093003928661346,0.010869506746531,-0.014478358440101) * MODEL1_texOff(vec2(1,0));
res += mat4(-0.043963801115751,-0.002649176865816,-0.017576579004526,0.116108223795891,0.048665568232536,-0.039020925760269,-0.037518382072449,-0.078437909483910,-0.157400190830231,0.033793553709984,0.108179435133934,0.071504317224026,-0.050598993897438,-0.034016687422991,-0.011871379800141,0.004551599733531) * MODEL1_texOff(vec2(1,1));
res += mat4(0.003954361192882,-0.018735999241471,-0.041220352053642,-0.000738300615922,-0.039422363042831,-0.026392681524158,-0.055923946201801,0.113587327301502,-0.021441001445055,-0.074310638010502,0.043747682124376,0.008695570752025,-0.001311207190156,0.013288482092321,0.013669880107045,0.024448212236166) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.029086388647556,0.044030845165253,0.057626593858004,-0.025554142892361,0.116080529987812,-0.179433897137642,0.022623756900430,-0.004684536252171,-0.017999723553658,0.127849712967873,0.065924197435379,-0.107642672955990,0.005717072170228,-0.052060004323721,0.093929186463356,0.024395482614636) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.015270663425326,-0.045415967702866,-0.019377889111638,0.018309127539396,0.087491758167744,-0.018609352409840,0.000079524448665,0.068909943103790,-0.018632531166077,0.007182719651610,-0.006948930211365,0.027720894664526,0.026956344023347,-0.090554781258106,-0.013159287162125,0.046814877539873) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.021283391863108,-0.143019556999207,-0.156540662050247,-0.180226236581802,-0.132854968309402,0.042813114821911,0.024244299158454,-0.022592697292566,0.004677715245634,-0.038592025637627,0.038644768297672,-0.075457036495209,-0.063756734132767,-0.099294714629650,0.012649237178266,-0.041180949658155) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.063286326825619,-0.016251223161817,-0.262527346611023,-0.269792139530182,-0.200410246849060,0.166653618216515,0.088345065712929,-0.096238911151886,0.198961436748505,-0.043254457414150,0.033664152026176,0.098500467836857,0.145071536302567,0.127862706780434,-0.400440812110901,-0.278494745492935) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.015128875151277,0.081862613558769,0.227215230464935,-0.002067938446999,0.113642312586308,-0.005148809868842,0.059041298925877,0.052504766732454,-0.075060032308102,-0.002203786512837,0.005255548749119,0.055440630763769,0.076609522104263,0.204875111579895,0.179372400045395,0.143452495336533) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.042303740978241,0.028330678120255,-0.031844370067120,-0.064375109970570,0.119502782821655,0.023564826697111,0.004827673081309,0.059153161942959,-0.097478002309799,0.045714151114225,-0.034379992634058,-0.006562223657966,0.029261887073517,-0.014323259703815,0.027482949197292,-0.007958777248859) * MODEL2_texOff(vec2(1,-1));
res += mat4(0.050903189927340,-0.062959767878056,0.024382373318076,-0.041062943637371,-0.119581848382950,0.072018094360828,-0.023782482370734,0.032945439219475,0.030130406841636,-0.090255767107010,-0.050079062581062,0.036185201257467,-0.023066230118275,-0.098169349133968,0.058833744376898,-0.056027173995972) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.059847749769688,0.023820545524359,0.024527754634619,0.005243350286037,0.032577019184828,-0.021987818181515,0.027439942583442,-0.025667546316981,0.045752376317978,-0.018518839031458,-0.017953576520085,-0.094799466431141,0.071153685450554,-0.036180991679430,-0.046298127621412,0.078655585646629) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.043095704168081,0.004168733954430,-0.079911418259144,-0.056107562035322,-0.000755961053073,-0.045505791902542,-0.005352203268558,-0.011455405503511,-0.012785469181836,0.033041518181562,0.043152466416359,0.066244848072529,0.007691274862736,-0.004053317010403,-0.022988384589553,-0.057539172470570) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.039740234613419,-0.057003762573004,-0.017543815076351,0.113248169422150,0.009209685027599,-0.016333457082510,-0.096432767808437,0.027672583237290,0.010326974093914,0.102289378643036,0.072181969881058,0.058267891407013,-0.020023077726364,-0.008087119087577,-0.022550480440259,0.038012854754925) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.006121228449047,0.062552519142628,-0.008788350038230,-0.058338835835457,-0.016085891053081,0.055813763290644,0.020013591274619,-0.064712986350060,0.018483517691493,-0.077017731964588,-0.020617177709937,0.003759919898584,-0.000271751749096,0.037124250084162,-0.057819604873657,0.057873394340277) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.012002219446003,0.118391767144203,-0.071173541247845,0.123586170375347,-0.115190140902996,0.130832299590111,0.044553596526384,0.151798307895660,0.004667194094509,-0.184454932808876,0.099831350147724,-0.130538806319237,0.033918846398592,0.073492050170898,0.010223890654743,0.120501175522804) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.026581151410937,0.030832247808576,0.428702503442764,0.405800104141235,0.018270840868354,0.029543399810791,0.371141016483307,0.203322961926460,0.012065300717950,-0.006685172207654,-0.497098535299301,-0.093590833246708,0.001613218802959,-0.008884532377124,0.259520113468170,0.453011721372604) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.004347756970674,-0.088507354259491,-0.352091223001480,0.103462249040604,0.009896545670927,-0.023542618378997,-0.129378095269203,-0.071000300347805,-0.074560955166817,0.082940928637981,0.323278516530991,-0.143636673688889,0.005284967366606,-0.081824496388435,0.073983654379845,0.480067461729050) * MODEL3_texOff(vec2(0,1));
res += mat4(0.010862111113966,0.052202943712473,-0.089699760079384,0.047717560082674,0.038561720401049,0.062264673411846,-0.070428282022476,-0.047085423022509,-0.113712608814240,0.003668619785458,0.022524751722813,-0.069592006504536,0.024179182946682,0.042329955846071,-0.012576324865222,-0.001668575336225) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.077469721436501,0.018947655335069,-0.014078475534916,0.302822947502136,-0.178309634327888,-0.013694266788661,-0.039268191903830,-0.005644850898534,-0.002991835121065,-0.052524648606777,0.079195760190487,0.010522423312068,-0.023954488337040,-0.020483022555709,-0.044954210519791,0.119247458875179) * MODEL3_texOff(vec2(1,0));
res += mat4(0.016753235831857,-0.069788239896297,-0.161282762885094,-0.095794998109341,0.020634302869439,-0.011931166052818,-0.006636739242822,-0.092503607273102,-0.097937613725662,0.073196254670620,0.089495085179806,-0.015342983417213,-0.016138821840286,-0.025114310905337,-0.072392657399178,0.188775405287743) * MODEL3_texOff(vec2(1,1));
res += mat4(0.018730208277702,0.071842461824417,-0.010470875538886,-0.109304443001747,0.008767120540142,0.042507674545050,0.035864055156708,0.020485183224082,0.060531906783581,0.046750262379646,0.041734192520380,0.232223346829414,-0.051263894885778,0.045880202203989,0.028279880061746,0.006446560379118) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.021934431046247,-0.101846866309643,-0.029873264953494,0.004841367714107,0.014212646521628,-0.071828089654446,-0.075851380825043,0.090548761188984,-0.026057746261358,0.048060763627291,0.073391072452068,-0.068933971226215,-0.149302870035172,0.077001683413982,0.023265045136213,0.018780978396535) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.024747302755713,0.011846841312945,0.091807909309864,-0.000728780054487,-0.033618081361055,0.021080352365971,0.021623058244586,0.024967661127448,-0.000855536840390,-0.017740540206432,0.041601497679949,-0.001589746214449,-0.007211435586214,-0.032041817903519,-0.028580734506249,0.127297654747963) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.025619698688388,-0.152023077011108,0.155823305249214,0.038071140646935,0.060118835419416,0.050549015402794,-0.032831355929375,-0.031526751816273,0.054756201803684,-0.160924077033997,0.173389911651611,0.364713400602341,0.124007120728493,-0.043091364204884,-0.013591395691037,0.066018328070641) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.133378461003304,0.084798686206341,-0.247042283415794,-0.029884222894907,0.115678407251835,0.006920044310391,0.005068220663816,0.186153486371040,0.089782722294331,-0.043523278087378,-0.243633314967155,-0.153500437736511,0.118372537195683,0.017842266708612,-0.084502540528774,-0.126676678657532) * MODEL4_texOff(vec2(0,0));
res += mat4(0.034236978739500,0.006584180984646,-0.003765514353290,-0.073300741612911,0.005613301880658,-0.023063180968165,0.118880748748779,0.104451239109039,-0.019377537071705,0.051830083131790,-0.029226303100586,0.063156358897686,0.059570081532001,-0.024891154840589,0.037496797740459,0.072731427848339) * MODEL4_texOff(vec2(0,1));
res += mat4(0.035377018153667,-0.001656503882259,0.025986069813371,0.008627338334918,-0.216986581683159,-0.066869899630547,0.041374295949936,-0.020033912733197,0.111258484423161,0.077516488730907,-0.005359728354961,0.073425374925137,0.020072672516108,-0.023340165615082,-0.013350724242628,0.015633432194591) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.172357022762299,-0.029253046959639,0.133146569132805,-0.022398741915822,-0.672060489654541,0.062973991036415,-0.044692296534777,0.053839672356844,0.089507222175598,-0.039800867438316,0.057113882154226,0.030494885519147,-0.088163837790489,-0.012574805878103,0.005511287599802,-0.130653172731400) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.066016584634781,-0.050481028854847,-0.099814385175705,-0.038199730217457,-0.164630800485611,-0.036546986550093,0.002967491978779,0.005162571556866,0.025324409827590,-0.010801224969327,0.031708642840385,-0.036439847201109,0.027848262339830,0.021470263600349,-0.007512005046010,0.010502158664167) * MODEL4_texOff(vec2(1,1));
res += mat4(0.028348483145237,-0.033291671425104,0.007907816208899,0.048127703368664,0.059200070798397,0.027624983340502,0.093575961887836,-0.036776196211576,0.034144744277000,0.044436603784561,0.003115303348750,-0.059864684939384,0.030427077785134,0.080370455980301,0.014711050316691,-0.122234068810940) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.059162158519030,-0.051178861409426,-0.046340696513653,-0.109885752201080,0.084363617002964,-0.011334758251905,-0.093661434948444,-0.008236560039222,-0.017675781622529,-0.027020938694477,-0.006686327513307,0.162656620144844,0.097052827477455,-0.013638904318213,-0.199849575757980,-0.095557287335396) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.020002815872431,0.033211324363947,0.050879657268524,0.057412754744291,0.062624409794807,0.020668253302574,0.000317959173117,0.019607894122601,0.006122529972345,0.028792951256037,-0.069782294332981,-0.007462397683412,0.057536862790585,0.002361248247325,0.115953214466572,0.017505588009953) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.108964838087559,0.024617280811071,0.008507037535310,0.080355525016785,0.066535733640194,0.147642791271210,-0.095020122826099,-0.114719271659851,0.118385680019855,-0.011160082183778,-0.030534148216248,-0.025913409888744,0.040328223258257,0.073937013745308,-0.072075523436069,0.047634229063988) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.289650052785873,0.051916718482971,0.075640596449375,-0.075054839253426,0.064963817596436,-0.045112255960703,0.151944309473038,0.171385392546654,0.195939123630524,0.002790018450469,0.062733963131905,0.086956724524498,-0.076652742922306,-0.028083033859730,0.120145194232464,0.144945308566093) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.112198792397976,0.048944711685181,-0.071413055062294,-0.047334499657154,0.058486379683018,-0.056763399392366,0.054862372577190,0.003588709281757,0.113822385668755,-0.069951288402081,-0.112494423985481,-0.074966780841351,0.079272963106632,-0.059472069144249,-0.171574577689171,-0.045034870505333) * MODEL5_texOff(vec2(0,1));
res += mat4(0.113993868231773,-0.074295639991760,0.003314257366583,-0.019883345812559,-0.060870997607708,-0.093876868486404,0.062190625816584,-0.064515836536884,-0.030220726504922,-0.027356669306755,0.029334504157305,0.003683341899887,-0.054622203111649,-0.084205269813538,0.029535686597228,0.019186362624168) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.218496784567833,-0.052481092512608,0.004999774508178,-0.082814924418926,0.028777860105038,0.045172590762377,-0.022604985162616,0.047778770327568,-0.136725932359695,0.073178261518478,-0.003044575219974,0.034153431653976,-0.205591082572937,0.120168700814247,-0.019196566194296,-0.067243389785290) * MODEL5_texOff(vec2(1,0));
res += mat4(0.092819206416607,-0.039154902100563,-0.040019266307354,-0.055713556706905,0.126311853528023,0.023041388019919,0.031360093504190,0.031293999403715,-0.160546988248825,-0.033937752246857,0.032271619886160,0.047123596072197,-0.155779510736465,-0.000880490406416,-0.009723883122206,0.000552161771338) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.037486318498850,-0.008366567082703,-0.029468180611730,-0.062982723116875,-0.015244632959366,-0.057175181806087,0.008618276566267,-0.021317012608051,-0.041843004524708,0.010703849606216,-0.000991165172309,0.108619026839733,-0.025746755301952,0.043531607836485,-0.009495832957327,-0.159401223063469) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.014334343373775,-0.043659206479788,0.009315883740783,0.031505957245827,-0.047951661050320,0.199495568871498,0.037565618753433,-0.018695654347539,0.022206416353583,0.100261874496937,0.007808036170900,-0.079547792673111,0.121967956423759,0.036338392645121,-0.018240930512547,-0.139218151569366) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.027120687067509,-0.035116977989674,0.018465990200639,-0.003636704292148,-0.004621095489711,-0.076152816414833,0.002270417520776,0.019320422783494,-0.035119015723467,0.022651918232441,0.005200868006796,0.038213286548853,0.041363563388586,-0.047563940286636,-0.023851983249187,-0.120096705853939) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.064923606812954,-0.020870279520750,0.025851214304566,0.029953643679619,0.052829120308161,0.131532207131386,-0.009518438950181,-0.075461745262146,0.108816429972649,-0.032114934176207,0.003762244014069,-0.039211161434650,0.032735221087933,0.026965709403157,0.049311727285385,0.074375607073307) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.342804700136185,0.081184767186642,-0.043821573257446,-0.060539066791534,0.506478726863861,-0.315986961126328,-0.187654778361320,-0.067351818084717,0.131442844867706,-0.059719111770391,-0.091895312070847,-0.061126682907343,-0.081634819507599,-0.020122937858105,-0.104557022452354,-0.163837924599648) * MODEL6_texOff(vec2(0,0));
res += mat4(0.009947477839887,0.000084494880866,0.051020648330450,0.069502480328083,0.085570201277733,0.062173679471016,0.120013728737831,0.064012937247753,0.105860717594624,0.000160347233759,-0.004982048179954,0.008308294229209,-0.110329627990723,0.003493021940812,-0.118365779519081,-0.038073826581240) * MODEL6_texOff(vec2(0,1));
res += mat4(0.113356567919254,0.006960871163756,-0.003415119135752,0.143119931221008,-0.089501455426216,0.020662702620029,0.001211488153785,0.044674396514893,0.090857833623886,-0.007944307290018,-0.010021833702922,0.059133537113667,-0.065384447574615,-0.031627867370844,0.002061424078420,-0.025571197271347) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.276015400886536,0.048889830708504,-0.035182677209377,-0.068390779197216,-0.300100982189178,0.071878246963024,-0.004132938105613,-0.005574708338827,0.334677875041962,-0.073273338377476,0.030456962063909,0.001716785831377,-0.151871025562286,0.004196443129331,-0.017812900245190,-0.073197059333324) * MODEL6_texOff(vec2(1,0));
res += mat4(0.007943939417601,-0.009975856170058,0.043821722269058,0.086169421672821,-0.097180314362049,-0.024600084871054,-0.007714228704572,0.026297833770514,0.005493135657161,0.010939848609269,-0.054095361381769,0.048942074179649,0.140923812985420,0.005752141121775,0.033299203962088,0.005904649849981) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.010579053312540,0.940555453300476,0.908535420894623,0.074077822268009) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL8
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 8_2

vec4 hook()
{
vec4 res = vec4(-0.249181985855103,-0.305317014455795,-0.414018720388412,-0.303356736898422);
res += mat4(0.048951145261526,0.046776637434959,0.068451106548309,0.089889056980610,-0.048729442059994,0.079046033322811,0.003362140851095,-0.022470660507679,-0.020138526335359,-0.009857815690339,-0.007930418476462,0.001938123488799,0.016096517443657,0.026772284880280,-0.046384878456593,0.005231702700257) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.095772333443165,0.001636906410567,0.141199678182602,-0.019542893394828,0.060698918998241,-0.040364697575569,0.034001309424639,-0.074803151190281,0.046294312924147,0.015044509433210,0.007897319272161,-0.079548805952072,-0.139697283506393,-0.147277668118477,-0.051916077733040,0.036464557051659) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.028579736128449,0.113797470927238,0.010819561779499,0.166097596287727,-0.049974020570517,0.036663226783276,0.029742700979114,-0.020048016682267,0.097725331783295,0.002231359016150,0.053500607609749,-0.056371480226517,0.002714486559853,0.051763463765383,0.105515047907829,0.091483794152737) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.114085793495178,-0.131111294031143,-0.049869179725647,0.076314143836498,-0.042844071984291,0.165142908692360,0.010674398392439,0.115447483956814,0.139375686645508,-0.024792464450002,-0.129592090845108,-0.023490764200687,0.063332937657833,0.003400338115171,0.045508224517107,0.205846473574638) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.469579547643661,0.025993239134550,0.186912044882774,0.010502006858587,-0.134321421384811,0.314776510000229,-0.019750135019422,0.069559708237648,0.322789371013641,-0.061748374253511,0.556389033794403,0.023750491440296,-0.031750813126564,-0.275643765926361,0.033016197383404,-0.208798572421074) * MODEL1_texOff(vec2(0,0));
res += mat4(0.044863596558571,0.007299361750484,0.054379183799028,0.150736272335052,-0.052165940403938,-0.008322356268764,-0.036223765462637,-0.017229765653610,-0.182256907224655,-0.032528564333916,0.064893320202827,0.008067714981735,-0.057481795549393,0.059635657817125,0.078167252242565,0.060967493802309) * MODEL1_texOff(vec2(0,1));
res += mat4(0.100634701550007,-0.009879386052489,0.045648790895939,-0.045030057430267,-0.075013138353825,-0.120937429368496,0.006444146391004,-0.150549009442329,0.075199253857136,-0.049424093216658,0.070942349731922,-0.086556211113930,-0.061078295111656,0.011427986435592,0.002832361264154,0.068680658936501) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.045585822314024,-0.133958697319031,0.054525174200535,0.129158377647400,0.065164841711521,0.037891108542681,-0.055145040154457,-0.119120366871357,-0.003851821646094,-0.026227716356516,-0.006284191738814,-0.127906411886215,0.004798854235560,0.099255442619324,0.027825895696878,0.031520094722509) * MODEL1_texOff(vec2(1,0));
res += mat4(0.057759404182434,-0.023768825456500,-0.009327947162092,0.021127495914698,-0.089276410639286,0.013045609928668,-0.040401060134172,-0.044145792722702,0.068797662854195,-0.005853956099600,-0.149382382631302,-0.153891190886497,0.045395106077194,-0.052211880683899,0.001800249796361,0.023866605013609) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.009649666957557,-0.068681590259075,-0.081212185323238,0.057114385068417,0.018648630008101,-0.008928326889873,0.010596486739814,0.126594647765160,-0.006180996075273,0.040542900562286,0.010597269050777,-0.117076665163040,-0.005966467317194,0.069550134241581,-0.039006855338812,-0.051408536732197) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.132207080721855,-0.038645647466183,0.080011419951916,0.001641976763494,-0.122371546924114,-0.076186060905457,0.049385391175747,0.015791989862919,0.048238523304462,0.025437891483307,0.020695088431239,-0.048477087169886,0.122195713222027,0.105641581118107,-0.129891529679298,-0.032796856015921) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.003505063708872,0.006657300051302,-0.060666348785162,-0.044817909598351,0.039419718086720,-0.030791381374002,-0.070657588541508,0.115115933120251,-0.041013654321432,-0.040501892566681,0.010706722736359,-0.085815489292145,0.035943925380707,0.050593715161085,0.147612154483795,0.040717855095863) * MODEL2_texOff(vec2(-1,1));
res += mat4(-0.038833599537611,-0.184961333870888,-0.062454745173454,0.353503078222275,-0.045198921114206,0.034409303218126,-0.020387558266521,0.042208332568407,0.104137405753136,-0.053062096238136,-0.005904161836952,-0.011015303432941,-0.153353527188301,-0.106321901082993,0.011362359859049,-0.026494577527046) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.203561723232269,-0.075311101973057,-0.214709222316742,0.273390322923660,-0.016358206048608,-0.103086665272713,0.033555801957846,-0.001512664370239,-0.085415400564671,0.522759675979614,-0.060154441744089,0.098112709820271,0.178935244679451,0.170204997062683,-0.050249196588993,0.174303248524666) * MODEL2_texOff(vec2(0,0));
res += mat4(0.114226177334785,0.029382130131125,-0.061281502246857,-0.035416133701801,0.039941497147083,0.020949330180883,-0.027393389493227,0.033268548548222,0.001255979645066,0.029832689091563,-0.018761120736599,-0.194280073046684,0.144991502165794,0.112781666219234,0.100503444671631,-0.013514498248696) * MODEL2_texOff(vec2(0,1));
res += mat4(0.065455399453640,-0.003859977005050,0.029432259500027,0.169430881738663,-0.092238150537014,-0.053351365029812,-0.017732413485646,0.034971784800291,-0.004767071455717,0.016698362305760,-0.026641203090549,0.005896538030356,-0.000481997500174,0.046500939875841,-0.086893945932388,-0.007572303991765) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.103208690881729,0.014175327494740,0.049526166170835,0.110033646225929,-0.010296110063791,-0.039917688816786,-0.178653359413147,-0.000286341266474,0.007785508874804,0.004561919718981,-0.023485671728849,-0.233498021960258,-0.020124359056354,-0.072046682238579,0.140677109360695,-0.029926434159279) * MODEL2_texOff(vec2(1,0));
res += mat4(0.018263259902596,-0.069273851811886,-0.043190326541662,-0.038269668817520,-0.026818638667464,-0.050443228334188,-0.026475511491299,-0.012804371304810,-0.057306468486786,0.067135021090508,0.084848441183567,0.027876546606421,0.042487427592278,0.016663338989019,-0.054515901952982,0.025524031370878) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.021017076447606,-0.038446288555861,-0.015113277360797,0.046778291463852,-0.050845004618168,0.055460486561060,0.006221630144864,-0.014737457968295,-0.021775348111987,0.014939343556762,-0.020020155236125,0.058363515883684,0.006225177552551,0.002879067789763,-0.031432606279850,-0.028193948790431) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.161718338727951,-0.116581670939922,-0.134614422917366,-0.013748753815889,0.112506926059723,0.067075401544571,0.044330302625895,-0.132409721612930,-0.028584850952029,0.059638213366270,0.001906955963932,0.120599560439587,-0.081321969628334,-0.040418315678835,-0.036768756806850,0.020674956962466) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.052590787410736,-0.020273281261325,-0.122795335948467,0.017032617703080,-0.028609203174710,0.013775289058685,0.035218164324760,-0.000059527232224,-0.043567869812250,-0.000858599494677,-0.019225664436817,-0.029137155041099,-0.123735964298248,-0.070535510778427,-0.064541816711426,0.111035116016865) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.032391056418419,0.037528213113546,0.025538044050336,-0.041596945375204,0.269156008958817,-0.178286075592041,-0.066760033369064,0.071804806590080,-0.061117287725210,-0.135863825678825,-0.012481766752899,0.107855819165707,0.039834223687649,0.047651898115873,-0.013762032613158,-0.089086338877678) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.151607230305672,0.164588943123817,0.153694212436676,-0.009601322002709,0.134052902460098,0.080237202346325,-0.045551389455795,-0.203843563795090,0.172474950551987,0.014384405687451,-0.142000272870064,0.400444060564041,-0.160657212138176,0.120821192860603,0.205980882048607,-0.094087108969688) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.151394769549370,-0.077387347817421,0.046788707375526,-0.000014628265490,-0.113660834729671,0.015805566683412,0.054432518780231,0.004100882448256,0.098322793841362,0.096827015280724,-0.107267834246159,0.074247330427170,-0.133783355355263,-0.088785246014595,0.005700710695237,-0.272276371717453) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.048875313252211,-0.039275225251913,-0.101169265806675,-0.066684842109680,-0.008381505496800,0.035151284188032,0.142289891839027,0.053204566240311,-0.055349003523588,0.044156800955534,-0.007760751526803,0.032386861741543,-0.021302800625563,0.001897226786241,-0.071356564760208,-0.043079052120447) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.024608859792352,-0.038311112672091,-0.138860866427422,0.166517615318298,0.020182134583592,-0.058946594595909,-0.027462754398584,-0.281490832567215,-0.090045928955078,-0.044512718915939,0.041392471641302,0.294300675392151,0.039735518395901,-0.122231237590313,-0.119560085237026,-0.300074607133865) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.059644483029842,0.030365766957402,0.027539180591702,0.149066478013992,0.031248578801751,0.051648620516062,0.013580414466560,0.017209174111485,-0.065642304718494,-0.050777666270733,0.000799610803369,-0.248025372624397,-0.048657964915037,0.019300127401948,-0.130261600017548,0.104494862258434) * MODEL3_texOff(vec2(1,1));
res += mat4(0.040019098669291,0.008578693494201,-0.083324097096920,-0.073833756148815,0.058761633932590,-0.043622042983770,0.063060164451599,0.033753316849470,-0.050690788775682,0.143767863512039,0.055343549698591,0.055091619491577,0.105620533227921,-0.101608514785767,0.015514585189521,0.088686428964138) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.048509605228901,-0.002401791745797,-0.026675147935748,0.065604455769062,0.020716438069940,-0.012286304496229,0.020254062488675,0.064471662044525,0.002786486642435,0.017563857138157,-0.145043894648552,0.057168055325747,-0.134262934327126,0.113725095987320,0.011706668883562,-0.043213520199060) * MODEL4_texOff(vec2(-1,0));
res += mat4(0.018850058317184,-0.000111417961307,0.061633285135031,-0.071913793683052,-0.092704758048058,0.017800929024816,-0.042969822883606,0.031338524073362,-0.036707963794470,0.012690962292254,0.063185408711433,-0.021209565922618,0.028241654857993,0.053402777761221,-0.054314114153385,0.069093227386475) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.160152330994606,-0.098668716847897,0.132072046399117,-0.178842633962631,0.134735509753227,0.054077230393887,0.039079010486603,0.116382919251919,0.191095694899559,0.031968932598829,0.219691053032875,-0.152130365371704,-0.169384598731995,0.021294534206390,-0.000626375142019,0.143823385238647) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.257804274559021,-0.031716316938400,0.399107843637466,0.196828246116638,-0.307744055986404,-0.017948186025023,0.003128408454359,0.096294000744820,-0.245411783456802,-0.057487189769745,0.262901932001114,0.040620904415846,0.074323207139969,0.076253443956375,-0.137162402272224,-0.022773344069719) * MODEL4_texOff(vec2(0,0));
res += mat4(0.058138698339462,-0.078488938510418,-0.153553768992424,0.048675630241632,0.081223353743553,-0.023752149194479,-0.026448208838701,-0.123413562774658,0.074297055602074,0.019478408619761,-0.019137434661388,-0.029747327789664,0.007313311565667,-0.063656732439995,0.024843096733093,-0.027113454416394) * MODEL4_texOff(vec2(0,1));
res += mat4(0.088844723999500,0.035545639693737,0.035086605697870,-0.201301872730255,-0.022865375503898,-0.113657824695110,0.053655292838812,0.042717348784208,0.067045755684376,0.167930901050568,-0.062882862985134,0.119825467467308,-0.157897591590881,-0.076106987893581,-0.064954422414303,0.010049239732325) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.041261415928602,0.012148014269769,-0.010364959016442,-0.057008348405361,-0.001898002345115,0.089915633201599,-0.051789402961731,0.128257855772972,0.009649638086557,0.146438732743263,0.012956102378666,0.084765486419201,-0.029683327302337,-0.052411898970604,-0.085270062088966,-0.025260373950005) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.024195048958063,-0.025654423981905,0.064469203352928,0.114062018692493,-0.032998368144035,-0.015337009914219,-0.041991721838713,-0.044870670884848,-0.002684437669814,0.036381997168064,0.002032407093793,-0.006514634005725,-0.065437413752079,-0.049521122127771,-0.008919431827962,-0.109256915748119) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.008397834375501,0.096810013055801,0.036996785551310,0.052634477615356,-0.116131760179996,0.076237298548222,0.085573323071003,-0.147400349378586,0.070550404489040,0.144383296370506,0.015505057759583,0.079547546803951,-0.051282063126564,0.074166834354401,0.043906360864639,-0.031883075833321) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.030234273523092,-0.018536986783147,-0.013439910486341,0.014489284716547,0.069014512002468,-0.049312606453896,0.016518473625183,-0.003165337257087,-0.048519484698772,0.011098733171821,0.026933355256915,0.032859299331903,0.034819334745407,-0.125150874257088,-0.069065168499947,-0.030536413192749) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.000703761936165,-0.018523113802075,-0.016740547493100,-0.011178269051015,0.014704816974699,0.006881659384817,-0.011748707853258,0.029363546520472,0.202364787459373,0.010995934717357,0.091733492910862,0.175465404987335,-0.008137269876897,-0.014487867243588,-0.038959521800280,0.046223830431700) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.043430034071207,0.043739367276430,0.030018128454685,-0.024876916781068,0.085269980132580,0.262181878089905,-0.113429419696331,-0.257461726665497,0.011767721734941,0.096930786967278,-0.209691986441612,0.093113236129284,-0.009284148924053,0.108345396816730,0.029415190219879,-0.094999931752682) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.093849539756775,0.020518278703094,-0.108997710049152,-0.011925883591175,0.223674267530441,-0.017124699428678,-0.281751453876495,-0.160815969109535,0.095637761056423,0.070763118565083,0.209081068634987,-0.102428063750267,0.061347469687462,-0.083415612578392,-0.063343055546284,-0.073117434978485) * MODEL5_texOff(vec2(0,0));
res += mat4(0.051599998027086,-0.009031322784722,-0.021582040935755,-0.018629824742675,0.057686455547810,0.066335253417492,0.022022889927030,-0.007655870169401,-0.098096750676632,0.028564000502229,0.121340677142143,0.224843516945839,-0.018609434366226,0.018320308998227,0.002952502807602,-0.023903563618660) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.016240322962403,0.013033882714808,-0.147657603025436,-0.110661916434765,0.021818745881319,0.057337958365679,0.063082605600357,0.006992305628955,-0.062924243509769,0.103879578411579,0.114066801965237,0.062532119452953,-0.002178968163207,0.006498993840069,-0.000030481773138,0.010905718430877) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.018306514248252,0.053775254637003,-0.058723207563162,0.005850453861058,-0.059082370251417,0.046476900577545,0.099400885403156,-0.001199169317260,0.072154782712460,0.180065110325813,0.043452639132738,-0.038737557828426,0.050164565443993,0.133422836661339,0.066676005721092,0.096441723406315) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.035042580217123,-0.010988691821694,-0.035333123058081,0.024219738319516,0.019711745902896,0.041622422635555,0.017676718533039,-0.019892368465662,-0.007975894026458,-0.029987301677465,0.053602460771799,0.116882264614105,0.014003099873662,0.029704188928008,0.021789012476802,0.016760710626841) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.050908122211695,-0.115940228104591,-0.042702648788691,0.066399969160557,-0.008674862794578,-0.064728289842606,-0.102311283349991,-0.044320147484541,-0.007369044236839,-0.109827578067780,0.026298407465219,0.014710113406181,-0.064948156476021,-0.185414507985115,-0.084160342812538,0.005019044037908) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.051514036953449,-0.013918807730079,-0.048823114484549,-0.174268007278442,-0.068928487598896,-0.008339460007846,0.028143784031272,-0.011828827671707,0.023088824003935,0.009245336987078,-0.070855043828487,0.011728260666132,-0.134751155972481,-0.118377469480038,-0.016374174505472,-0.093326240777969) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.033872853964567,-0.001106485724449,0.093269936740398,0.001464793924242,-0.080948524177074,-0.037263631820679,0.026083491742611,-0.036543719470501,-0.046924959868193,0.005970063153654,-0.001142136752605,0.076079376041889,0.032969377934933,-0.144264966249466,-0.144927620887756,0.027514506131411) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.027759538963437,-0.200507462024689,0.056018725037575,0.042842227965593,0.089494787156582,0.048590384423733,-0.053129684180021,0.021119838580489,0.046083398163319,-0.052448436617851,0.037077493965626,0.097665823996067,-0.060609046369791,0.142588600516319,0.011626667343080,0.018495244905353) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.224869936704636,0.088578753173351,-0.298482328653336,-0.205273285508156,-0.401170283555984,-0.116696640849113,0.186941266059875,0.203512474894524,-0.139988616108894,-0.155171170830727,0.058290373533964,-0.157948598265648,-0.118568621575832,-0.163369223475456,-0.298923343420029,-0.212003961205482) * MODEL6_texOff(vec2(0,0));
res += mat4(0.047180060297251,0.016659498214722,0.088977880775928,0.129571527242661,0.092644467949867,0.035196661949158,-0.033674735575914,-0.048264164477587,-0.031913399696350,-0.085589267313480,-0.050181820988655,-0.006214126478881,-0.134521767497063,0.061619412153959,0.114331930875778,0.089510053396225) * MODEL6_texOff(vec2(0,1));
res += mat4(0.046664468944073,0.005250830203295,-0.058291282504797,0.164937138557434,-0.103333272039890,-0.016429249197245,0.017953984439373,-0.019325448200107,-0.006340115796775,-0.033355887979269,0.017288405448198,0.206386327743530,0.067773975431919,0.010718689300120,-0.036554981023073,0.050110679119825) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.077248111367226,0.133488461375237,0.150727793574333,-0.082918688654900,0.017140077427030,0.056202273815870,-0.016619775444269,0.106095477938652,-0.144654497504234,-0.058330520987511,-0.038011923432350,-0.092951938509941,-0.095014877617359,-0.068412855267525,0.098847948014736,-0.076421424746513) * MODEL6_texOff(vec2(1,0));
res += mat4(0.082214310765266,-0.055920090526342,0.028438914567232,0.080889284610748,0.065309688448906,-0.041505694389343,-0.037470117211342,-0.027204623445868,0.038872409611940,-0.050664830952883,0.015855439007282,0.108600012958050,0.065820470452309,0.032897450029850,0.065607614815235,0.136094719171524) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.022432910278440,0.046198487281799,0.020224781706929,0.051559220999479) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL9
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 8_3

vec4 hook()
{
vec4 res = vec4(-0.274763673543930,-0.094762176275253,-0.238425448536873,-0.238452807068825);
res += mat4(-0.057032991200686,0.124311923980713,0.107884205877781,0.035528626292944,0.038765244185925,0.007350961212069,0.039452761411667,-0.102868221700191,0.022024808451533,0.117891997098923,0.029667234048247,-0.076421074569225,-0.069371484220028,0.015830475836992,0.122132897377014,-0.007604091428220) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.071186468005180,-0.023099415004253,0.165791481733322,-0.095403134822845,0.003326295409352,-0.054980229586363,-0.119983434677124,-0.243947669863701,-0.056113265454769,0.205795109272003,-0.045862913131714,0.083930209279060,0.163848325610161,-0.030251998454332,0.066025786101818,-0.066242009401321) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.064520753920078,-0.026782799512148,0.086761802434921,-0.084378853440285,0.011456156149507,0.012263098731637,-0.051163725554943,-0.057312350720167,-0.061967320740223,0.042417034506798,-0.013341827318072,-0.104405425488949,-0.142256349325180,0.016530372202396,0.061357133090496,-0.041255701333284) * MODEL1_texOff(vec2(-1,1));
res += mat4(0.054127760231495,-0.041996899992228,0.031866963952780,-0.028298232704401,0.138879165053368,-0.248480424284935,0.038362517952919,-0.047115575522184,0.012715405784547,-0.166483193635941,-0.091672204434872,-0.115495361387730,0.060044568032026,0.066142052412033,-0.034798961132765,-0.135030716657639) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.348501682281494,-0.007341692689806,-0.069333188235760,-0.077423885464668,-0.041144657880068,-0.006384606473148,-0.297563433647156,-0.292020767927170,-0.019583284854889,0.123476386070251,0.003442090470344,-0.059113584458828,-0.046609863638878,-0.048024013638496,-0.398260533809662,-0.160574629902840) * MODEL1_texOff(vec2(0,0));
res += mat4(0.092301592230797,0.036431603133678,0.032896779477596,-0.032002799212933,0.064289391040802,-0.000726460828446,-0.019844306632876,-0.013409299775958,-0.028566913679242,0.000868039845955,-0.085879467427731,-0.219189852476120,-0.041452575474977,0.034205280244350,0.062007028609514,-0.185724109411240) * MODEL1_texOff(vec2(0,1));
res += mat4(0.041680488735437,0.057053986936808,-0.042489420622587,0.056031052023172,0.022175353020430,-0.098058432340622,-0.200994729995728,0.081019774079323,-0.014166099019349,0.006019872613251,-0.083665929734707,0.005782566498965,-0.014694570563734,0.008596333675086,0.004918897524476,0.039348192512989) * MODEL1_texOff(vec2(1,-1));
res += mat4(-0.036122612655163,-0.065430536866188,-0.041213855147362,0.020272517576814,0.038433626294136,-0.042851965874434,-0.178130745887756,0.158282145857811,-0.036420799791813,0.092278279364109,-0.027681509032845,-0.070915304124355,0.019906474277377,0.017320243641734,0.077887944877148,0.096236191689968) * MODEL1_texOff(vec2(1,0));
res += mat4(0.005067682825029,0.046342015266418,-0.000389909633668,0.032154403626919,0.059050019830465,-0.102075599133968,0.043984442949295,0.025410018861294,-0.023225693032146,0.032256826758385,0.014143049716949,0.022413995116949,-0.008204703219235,-0.003193145385012,0.100873403251171,0.066416345536709) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.012188252992928,0.009273683652282,-0.001193663105369,0.040977310389280,-0.044465266168118,-0.096673592925072,0.047830920666456,0.048768371343613,0.028391117230058,0.040840953588486,-0.028666539117694,-0.042011976242065,0.004139513708651,0.042219124734402,-0.010895133018494,-0.092599920928478) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.134696155786514,-0.065170548856258,0.002366137458012,-0.061792191118002,-0.078234873712063,0.121973656117916,0.073439367115498,-0.064844734966755,0.087040416896343,-0.145854473114014,-0.137423112988472,0.206493720412254,0.049227930605412,0.085483804345131,0.062688171863556,0.165636539459229) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.006381424143910,0.009193638339639,0.015745757147670,0.009437506087124,-0.024213794618845,-0.024593722075224,0.014481971040368,0.266464233398438,0.056034460663795,0.022159107029438,0.064143016934395,-0.072988152503967,0.113531313836575,0.095325909554958,0.037458706647158,0.025744764134288) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.127299934625626,0.394788414239883,-0.099706195294857,-0.076506026089191,0.039363656193018,-0.001454419107176,0.038997609168291,0.075016349554062,0.003917207475752,-0.041102260351181,0.021221783012152,-0.075174383819103,0.076620899140835,0.251007676124573,-0.124836616218090,-0.025473678484559) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.239133730530739,-0.061269752681255,0.143480852246284,-0.074424862861633,-0.007522213272750,-0.052141454070807,0.049302328377962,-0.250143438577652,0.011537545360625,0.068370454013348,0.302084445953369,0.042372405529022,0.016219178214669,0.030784072354436,0.008346060290933,-0.063827574253082) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.051226340234280,-0.049356970936060,0.003379373112693,-0.020970297977328,-0.053194772452116,0.004851046949625,-0.086505964398384,-0.118655003607273,0.244329586625099,0.037123858928680,0.066990777850151,0.046506814658642,-0.068809844553471,0.017357073724270,-0.057030756026506,0.118375562131405) * MODEL2_texOff(vec2(0,1));
res += mat4(0.002764060162008,0.124144770205021,-0.024224214255810,0.084469154477119,-0.020476881414652,-0.136742576956749,-0.028283482417464,0.082345806062222,0.012361456640065,0.009454092010856,-0.007300452794880,0.021861864253879,-0.014858103357255,-0.014168101362884,0.047385938465595,0.014493485912681) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.033149607479572,0.016485596075654,-0.029131302610040,-0.006660380866379,-0.139139726758003,0.044680267572403,-0.048278979957104,-0.014870695769787,0.017487516626716,-0.017489034682512,0.104841209948063,-0.002616818528622,-0.013916715979576,0.008344884961843,-0.020144985988736,-0.042877819389105) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.012577827088535,-0.026654008775949,-0.008692436851561,-0.039521630853415,0.024135116487741,-0.073203086853027,0.016022060066462,-0.000578852370381,0.023943681269884,-0.023951182141900,-0.053281486034393,-0.038046855479479,0.061147898435593,-0.000153498476720,0.078521229326725,-0.026277715340257) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.016363350674510,-0.050704799592495,-0.002568719908595,0.077107653021812,-0.000934069161303,-0.006026201881468,0.036385949701071,-0.129588052630424,0.027848251163960,-0.112174503505230,-0.056165855377913,-0.098141297698021,-0.092957429587841,-0.050911683589220,0.053795076906681,0.054335344582796) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.014591949991882,0.083521433174610,0.002679720753804,-0.043854564428329,0.050910018384457,-0.014119854196906,0.005435060244054,0.060485471040010,-0.073564678430557,-0.141441121697426,-0.030284136533737,-0.014907332137227,0.026436442509294,0.017232082784176,0.007121697068214,-0.066248834133148) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.050810903310776,-0.021864186972380,-0.009477505460382,-0.041658971458673,-0.031018720939755,-0.012542484328151,-0.003282555611804,-0.039184369146824,0.019611945375800,-0.029295178130269,0.001671968377195,-0.033235419541597,0.062091302126646,0.141860336065292,-0.005504615604877,0.064377918839455) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.000938394339755,-0.157614916563034,-0.045817025005817,-0.066757202148438,-0.084181323647499,-0.302473753690720,-0.070154584944248,0.082886785268784,0.041920848190784,0.036208506673574,-0.120858512818813,-0.014743795618415,0.037569854408503,-0.134355083107948,-0.001503237523139,-0.007440571207553) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.085737645626068,0.004714702721685,-0.003963428083807,-0.141939863562584,-0.079238854348660,0.055272947996855,-0.040370780974627,0.035198036581278,0.262135654687881,-0.020733349025249,-0.083717055618763,-0.016856189817190,-0.297774434089661,0.088251173496246,-0.010684743523598,0.086300775408745) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.088404841721058,-0.048133991658688,0.046734582632780,0.039576031267643,0.041060008108616,-0.053525824099779,0.012667648494244,-0.018120029941201,-0.165475532412529,-0.022557305172086,-0.112632259726524,-0.086316101253033,-0.012719918973744,0.244175463914871,-0.005890544969589,-0.097305528819561) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.004831085447222,-0.051955319941044,-0.003373656421900,0.105159901082516,-0.059684988111258,-0.010601751506329,0.025074087083340,0.051134128123522,-0.060233093798161,0.018525842577219,0.027291929349303,0.028917584568262,0.005047561600804,-0.111328519880772,0.033980399370193,-0.003417919855565) * MODEL3_texOff(vec2(1,-1));
res += mat4(0.039406701922417,-0.125404447317123,0.033263206481934,0.011751232668757,0.111018501222134,-0.030890073627234,0.060994360595942,-0.038956016302109,0.006891328375787,0.017463443800807,-0.049237575381994,0.040849629789591,0.073693990707397,-0.103599332273006,0.044355787336826,-0.018884452059865) * MODEL3_texOff(vec2(1,0));
res += mat4(0.038474898785353,0.020471440628171,-0.077751621603966,-0.039530154317617,-0.022369872778654,0.053098421543837,0.007849894464016,0.036393724381924,0.039456523954868,-0.030685529112816,-0.036867599934340,0.064311973750591,-0.063621006906033,0.093265250325203,0.008602383546531,0.032871071249247) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.077372185885906,-0.068383097648621,0.045140318572521,-0.052492953836918,-0.027085106819868,0.064769133925438,0.114074759185314,0.062824212014675,0.069577641785145,0.097668245434761,0.112366415560246,0.122604966163635,0.077777825295925,-0.042868755757809,-0.107977390289307,0.097399175167084) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.015801867470145,0.063085980713367,0.010663634166121,-0.037087254226208,-0.040310271084309,-0.074586831033230,0.043246515095234,0.004401193931699,-0.017327338457108,-0.126820698380470,0.014825382269919,0.067400030791759,-0.139122635126114,-0.031309831887484,-0.124249570071697,-0.062729492783546) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.002226132666692,0.004644373431802,-0.003981921356171,0.034185905009508,0.040171667933464,0.029615513980389,0.041690155863762,0.002891613403335,0.004308641888201,0.010706120170653,0.000483904877910,-0.025016002357006,0.064335353672504,0.035921864211559,-0.017879748716950,0.086014620959759) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.035445429384708,0.402674227952957,-0.063541062176228,0.057987671345472,0.151382476091385,-0.038437906652689,0.033299632370472,-0.043250299990177,0.083214215934277,0.139029294252396,0.085642129182816,0.110163711011410,-0.022441219538450,-0.047075070440769,-0.055378574877977,0.038944981992245) * MODEL4_texOff(vec2(0,-1));
res += mat4(-0.110235564410686,0.144333496689796,-0.053030438721180,-0.142850354313850,-0.277522534132004,-0.062935605645180,-0.206327736377716,-0.164378255605698,0.124644517898560,-0.059034667909145,0.099215760827065,0.065392993390560,0.181181207299232,0.103946305811405,0.276221752166748,-0.001590033178218) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.002859623637050,-0.028059825301170,-0.013036337681115,0.082366272807121,0.068847268819809,0.089828513562679,0.016844922676682,0.056978128850460,-0.031789720058441,-0.035929761826992,-0.002740646945313,0.082408435642719,-0.108965665102005,-0.031098302453756,-0.055495262145996,0.056997139006853) * MODEL4_texOff(vec2(0,1));
res += mat4(0.002183343749493,0.122100234031677,0.029215628281236,0.016240451484919,-0.004187180195004,-0.038983497768641,0.118131704628468,-0.043960642069578,0.031384881585836,-0.050360109657049,0.062910512089729,-0.001611871528439,-0.026446370407939,-0.054282773286104,0.066171936690807,-0.109090439975262) * MODEL4_texOff(vec2(1,-1));
res += mat4(0.046761907637119,-0.091687023639679,0.002506434684619,0.037772964686155,-0.238420829176903,-0.019908005371690,0.119926311075687,-0.132293194532394,0.012132407166064,0.035225700587034,-0.038316223770380,-0.002079835860059,-0.081507459282875,0.037284463644028,-0.016710072755814,0.017998581752181) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.057512231171131,0.088088467717171,-0.063821755349636,-0.014695537276566,0.095650263130665,0.005266205407679,0.113937668502331,-0.146790236234665,0.091778464615345,-0.006729994900525,-0.040541589260101,-0.018463665619493,0.037955109030008,-0.043166425079107,-0.055320478975773,-0.002524521900341) * MODEL4_texOff(vec2(1,1));
res += mat4(0.048442855477333,-0.049656189978123,-0.005221643019468,-0.029178183525801,-0.026954796165228,0.025742303580046,0.045929171144962,-0.019944867119193,0.094177521765232,-0.034006357192993,0.092828266322613,0.117268152534962,0.010993368923664,0.040764950215816,-0.011488618329167,0.189234510064125) * MODEL5_texOff(vec2(-1,-1));
res += mat4(0.087552882730961,0.072515726089478,0.020373135805130,-0.099644117057323,0.025681834667921,-0.136258378624916,-0.030625319108367,0.150365740060806,0.010700344108045,0.084119319915771,0.122481703758240,0.077730730175972,0.306535869836807,0.079957656562328,0.182216897606850,0.331908613443375) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.045611057430506,0.024085845798254,0.024804385378957,0.067939922213554,0.049328289926052,-0.038119416683912,0.029363054782152,0.040218841284513,0.105011448264122,0.005068129859865,0.073547191917896,0.024127159267664,-0.167959064245224,-0.070681005716324,0.016135970130563,0.132522255182266) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.030669769272208,0.121570967137814,-0.054695043712854,0.147444829344749,-0.157726511359215,0.004781505558640,0.073211140930653,0.088116668164730,0.169884443283081,-0.054745089262724,0.084383204579353,-0.017168212682009,-0.145631328225136,0.077375411987305,0.212467432022095,-0.005556694231927) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.055291723459959,-0.016000198200345,-0.230954900383949,0.253586322069168,0.012177879922092,-0.011719331145287,-0.055825341492891,0.177155300974846,-0.160012111067772,0.092498213052750,0.119692228734493,-0.028766501694918,0.359082996845245,0.045837979763746,0.376078635454178,-0.270240396261215) * MODEL5_texOff(vec2(0,0));
res += mat4(0.034427594393492,-0.000945364532527,-0.140976920723915,0.096353903412819,0.073448456823826,0.007279042154551,0.094614237546921,0.066468857228756,-0.035794354975224,0.000178221554961,0.113833636045456,-0.045365374535322,0.098549090325832,-0.005727436859161,0.088710114359856,-0.105059005320072) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.050222750753164,-0.106432273983955,-0.108999907970428,0.042079810053110,-0.019187401980162,-0.069070786237717,0.089612461626530,-0.119390636682510,0.019188193604350,0.084186471998692,0.096590787172318,0.069670192897320,0.018684741109610,0.009145961143076,0.049931868910789,-0.024579115211964) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.007391438353807,0.002295694779605,-0.134339019656181,-0.117483951151371,-0.028316983953118,0.010604184120893,-0.001169184572063,-0.031298216432333,0.286204338073730,0.071765191853046,0.155033394694328,0.121407039463520,0.018666079267859,0.069066360592842,-0.004751109052449,-0.041618991643190) * MODEL5_texOff(vec2(1,0));
res += mat4(0.006376668810844,0.068966291844845,-0.054522126913071,0.033290021121502,-0.009841883555055,-0.034475740045309,0.036161150783300,0.002781699877232,0.076250679790974,0.036293882876635,0.067207418382168,0.131454870104790,0.004438819363713,-0.020685946568847,0.066322706639767,0.022292260080576) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.073891535401344,-0.054136358201504,-0.043692924082279,-0.100216135382652,-0.049624968320131,0.012733422219753,-0.035035084933043,0.098597444593906,-0.172569110989571,0.058274842798710,-0.019439944997430,0.076155945658684,-0.007103912532330,-0.069074995815754,-0.145796939730644,-0.129053503274918) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.141428977251053,0.049239419400692,-0.062732830643654,-0.137295231223106,-0.106138125061989,-0.181989639997482,-0.096961773931980,0.149825617671013,-0.070328928530216,-0.178805768489838,0.050176274031401,0.205821469426155,-0.196078836917877,0.051498737186193,-0.038955643773079,-0.206803187727928) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.019867017865181,-0.004350912757218,-0.020971076563001,-0.004644046071917,-0.003339904360473,0.053816936910152,-0.017368439584970,-0.045447830110788,-0.008640636689961,0.021560287103057,0.005683547351509,0.078494921326637,-0.153218850493431,-0.084709793329239,0.032342854887247,0.003861597273499) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.008972112089396,0.051844071596861,-0.192047327756882,0.136305436491966,-0.000618226011284,-0.153429090976715,0.093363933265209,-0.202415674924850,0.005094038322568,-0.160976275801659,0.146961212158203,0.074533492326736,-0.121549002826214,0.012381487526000,0.064048513770103,0.086576715111732) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.165874600410461,-0.125826582312584,-0.412981539964676,0.081443578004837,0.055064763873816,0.069952972233295,0.213542357087135,-0.435665428638458,-0.048294875770807,0.021195366978645,0.282775312662125,0.239067211747169,-0.004231212195009,-0.068078309297562,0.026170386001468,0.117889948189259) * MODEL6_texOff(vec2(0,0));
res += mat4(0.079732231795788,0.031337153166533,-0.023819429799914,0.045030437409878,-0.142070680856705,0.032664239406586,-0.009155980311334,-0.110719077289104,-0.076409071683884,0.004514408297837,0.126555487513542,0.018724193796515,0.112736783921719,0.037269879132509,-0.040058992803097,-0.030119916424155) * MODEL6_texOff(vec2(0,1));
res += mat4(0.003956565633416,0.022920925170183,0.063879601657391,0.140632569789886,0.012738780118525,0.020308699458838,-0.012991889379919,0.023470630869269,-0.026670947670937,0.018768027424812,0.008795782923698,-0.097221136093140,0.120076142251492,-0.048036858439445,0.041739579290152,-0.109373636543751) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.132477998733521,0.126638293266296,0.264565110206604,0.283307462930679,0.012064510025084,0.056327726691961,0.066022567451000,0.056733120232821,0.025763565674424,-0.112170271575451,0.155385777354240,0.016133727505803,-0.051800120621920,0.021661525592208,-0.088349916040897,-0.119981549680233) * MODEL6_texOff(vec2(1,0));
res += mat4(-0.000013557553757,-0.079820878803730,0.102534629404545,0.110270015895367,0.015231464989483,-0.053179886192083,0.073960818350315,0.033485285937786,-0.105927117168903,0.091572895646095,0.021231170743704,0.017260085791349,-0.035720523446798,0.073400348424911,0.021310452371836,0.086367726325989) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.037519726902246,0.321776002645493,-0.002291462616995,0.008045215159655) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL10
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 8_4

vec4 hook()
{
vec4 res = vec4(-0.302924424409866,-0.182569786906242,-0.219925031065941,-0.229811370372772);
res += mat4(0.108309566974640,0.021506713703275,0.001739329774864,-0.021352760493755,0.000617574667558,0.065516456961632,0.041163768619299,0.100349865853786,0.063150882720947,-0.055577594786882,-0.014316958375275,-0.064235575497150,-0.072532474994659,-0.058102700859308,0.033061951398849,0.011179162189364) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.221532568335533,0.077302396297455,-0.033461801707745,0.165721386671066,0.067198127508163,0.120568707585335,0.028134029358625,-0.004312735516578,-0.053894605487585,0.009584243409336,0.014047890901566,0.065336689352989,0.019477946683764,-0.055877678096294,-0.004239515867084,0.019148409366608) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.083651810884476,0.053622730076313,0.091973558068275,-0.047631822526455,0.008547393605113,0.067263647913933,0.031309906393290,0.013274435885251,-0.037317477166653,-0.079832829535007,-0.010818319395185,-0.058957472443581,-0.010493246838450,-0.045590762048960,0.015255949459970,-0.007327789906412) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.258702725172043,0.045046575367451,0.130280181765556,0.012935479171574,0.050874549895525,0.038318742066622,0.024507446214557,-0.056161243468523,-0.113691106438637,-0.009227194823325,0.037672426551580,0.028184721246362,-0.038632888346910,0.080015204846859,0.095899581909180,0.019032107666135) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.194370478391647,-0.504667282104492,0.130801022052765,-0.051374513655901,0.062660761177540,-0.112012505531311,0.034203618764877,-0.222242772579193,0.228091880679131,-0.054673098027706,-0.256298601627350,0.093602523207664,-0.114744320511818,0.231513857841492,0.349989414215088,0.193766951560974) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.124713927507401,-0.123520135879517,0.147514790296555,0.044458564370871,-0.085760585963726,-0.089111618697643,-0.077494598925114,0.031682904809713,-0.107326462864876,0.014331080019474,0.113578878343105,-0.024140436202288,-0.018808526918292,0.113166734576225,0.115732498466969,-0.023383134976029) * MODEL1_texOff(vec2(0,1));
res += mat4(-0.113991245627403,-0.104114048182964,-0.062934607267380,0.069113567471504,0.003005968639627,-0.080284185707569,-0.059250850230455,-0.074078395962715,0.028232024982572,0.077913440763950,-0.007029472850263,-0.093859963119030,0.032979857176542,-0.107045367360115,-0.021087374538183,0.079703934490681) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.013670124113560,-0.097847051918507,-0.013102812692523,0.009912297129631,-0.012845665216446,0.014807996340096,0.092384368181229,0.036754067987204,-0.132555410265923,-0.090730659663677,0.120999000966549,-0.169338122010231,0.164879873394966,0.007695492357016,0.102402843534946,-0.063750550150871) * MODEL1_texOff(vec2(1,0));
res += mat4(0.029722031205893,-0.029325552284718,-0.191307887434959,0.026653658598661,-0.050665881484747,-0.111538209021091,-0.094136886298656,-0.041330214589834,0.040585894137621,-0.048885792493820,-0.206145852804184,0.068759880959988,0.010092368349433,0.017725676298141,-0.055870592594147,0.028909206390381) * MODEL1_texOff(vec2(1,1));
res += mat4(0.015495276078582,-0.011536604724824,-0.043193798512220,0.071933075785637,0.079366408288479,0.035457011312246,0.010629033669829,0.066524736583233,-0.056959297508001,-0.082423932850361,-0.020953685045242,0.039663571864367,-0.008995516225696,0.027148764580488,0.012025754898787,0.003547606524080) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.001267084036954,-0.056335292756557,-0.034077588468790,-0.100118190050125,-0.028075272217393,-0.034598655998707,0.027757741510868,-0.008109895512462,0.038617197424173,0.016311658546329,0.067891344428062,-0.133357480168343,0.095832519233227,-0.017526438459754,-0.059812519699335,0.097185306251049) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.009839839302003,-0.030891774222255,-0.046547904610634,0.019926842302084,0.053758494555950,-0.012135315686464,-0.073131680488586,0.036305543035269,0.030061757192016,0.002240920206532,0.002690626773983,0.035188518464565,0.044179353863001,0.009079655632377,0.024455530568957,-0.030105223879218) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.019710684195161,-0.081960119307041,0.049697924405336,0.386436402797699,0.113008998334408,0.047565266489983,-0.005598828196526,-0.032169569283724,-0.012343876995146,-0.051411382853985,-0.061026796698570,-0.112610928714275,-0.070927865803242,0.015513185411692,-0.022682880982757,0.113436847925186) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.075385764241219,0.017261650413275,0.024610750377178,-0.188512101769447,0.139824435114861,0.381752878427505,0.054932173341513,-0.158147737383842,0.175288677215576,-0.090571366250515,-0.104626961052418,0.061221200972795,0.000965476850979,0.056058257818222,0.008835319429636,0.176335141062737) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.014859935268760,-0.057772953063250,-0.062551245093346,-0.011228741146624,0.179876565933228,0.203980952501297,0.185134589672089,0.026684874668717,0.011314974166453,-0.059920899569988,-0.261342525482178,0.012711241841316,0.049121230840683,0.066784605383873,0.048928126692772,0.104399949312210) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.019616430625319,-0.006849214434624,-0.026059830561280,0.056837271898985,0.139193087816238,0.002164032077417,0.023439852520823,0.052791871130466,0.010847897268832,-0.039736874401569,-0.034090138971806,-0.002876323182136,-0.020961165428162,0.015950150787830,-0.021178402006626,-0.052913490682840) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.055182628333569,-0.063715279102325,-0.035554051399231,-0.153388366103172,0.047689799219370,0.296982914209366,0.362093150615692,0.029466861858964,-0.049794487655163,-0.095005735754967,-0.161426633596420,0.058273315429688,0.032938126474619,0.032751049846411,0.058061584830284,0.102950841188431) * MODEL2_texOff(vec2(1,0));
res += mat4(0.017622897401452,0.036938168108463,0.025171013548970,0.026317596435547,0.021186050027609,0.024301623925567,0.225778922438622,0.031889047473669,-0.088540844619274,-0.144037425518036,-0.026279240846634,-0.085923105478287,0.098844535648823,0.032471984624863,0.086315475404263,0.057447656989098) * MODEL2_texOff(vec2(1,1));
res += mat4(0.028358353301883,-0.012609727680683,-0.030461911112070,-0.040574073791504,-0.072085373103619,0.040906574577093,0.071368403732777,0.018475595861673,-0.028840169310570,0.017972726374865,-0.002419460099190,0.145440131425858,0.023463996127248,0.013948681764305,0.010949629358947,-0.070121243596077) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.026431163772941,-0.012977209873497,-0.014043176546693,0.046480834484100,0.012772022746503,-0.071468532085419,-0.047943875193596,-0.059913676232100,0.016269953921437,0.004105412866920,-0.002466162666678,-0.036452360451221,0.009669899009168,0.029724834486842,-0.012747167609632,0.151746228337288) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.042195290327072,0.013364721089602,0.033949792385101,0.003981247544289,0.013939277268946,0.024093810468912,0.049976021051407,-0.004638589918613,0.043193247169256,-0.009728703647852,-0.018923079594970,0.002535374136642,0.005328732077032,0.014623073861003,0.023279651999474,-0.010134659707546) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.006938771344721,0.077132299542427,0.036361511796713,0.008757485076785,0.122818827629089,0.041961196810007,-0.010144526138902,-0.072007842361927,-0.017016958445311,-0.033347431570292,-0.002133589936420,-0.005385830067098,0.017960328608751,0.052239917218685,0.034002289175987,-0.099037773907185) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.120375499129295,-0.063225246965885,-0.000971024332102,0.114573344588280,0.005983204115182,-0.049716934561729,0.100555822253227,0.054758440703154,-0.138909652829170,-0.112951703369617,0.009880680590868,-0.304745107889175,0.047460466623306,0.052308723330498,0.031432677060366,0.371751099824905) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.002163463737816,-0.038103327155113,-0.076250806450844,0.112018488347530,-0.027765138074756,-0.009520658291876,-0.010785209946334,-0.020509790629148,-0.038973182439804,-0.042770732194185,0.012434770353138,-0.050602443516254,-0.090793982148170,-0.029343893751502,-0.000425257458119,0.115911930799484) * MODEL3_texOff(vec2(0,1));
res += mat4(0.010279017500579,-0.073937393724918,0.003405863652006,0.024575229734182,0.090116150677204,-0.027937673032284,-0.122011944651604,-0.078996390104294,-0.036694180220366,-0.035974245518446,-0.044622350484133,-0.026857482269406,0.002550175879151,0.015382224693894,0.070085644721985,-0.038562953472137) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.063594385981560,0.000751123705413,-0.098790556192398,0.249752849340439,0.005275437608361,0.044911045581102,0.185759752988815,-0.016473332419991,0.008033934980631,-0.086267665028572,-0.015208123251796,-0.004062127787620,-0.068778514862061,0.026369351893663,-0.063686192035675,0.348276734352112) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.073896132409573,-0.031972732394934,-0.079723998904228,0.024547168985009,-0.006374803837389,-0.034831102937460,-0.044842101633549,-0.040944896638393,0.021879898384213,0.070344090461731,0.042801488190889,0.044311318546534,0.108291387557983,0.016381420195103,0.033112578094006,0.044836066663265) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.020947420969605,0.039955884218216,0.045989908277988,-0.077175639569759,0.044358063489199,0.018003111705184,-0.000701634155121,0.035017121583223,0.055734451860189,0.067466661334038,0.049764748662710,0.074586458504200,0.022789333015680,0.042709223926067,0.023227177560329,-0.012122067622840) * MODEL4_texOff(vec2(-1,-1));
res += mat4(-0.042852345854044,-0.051534827798605,-0.018332773819566,-0.057173788547516,0.009363009594381,0.018223268911242,-0.005456436891109,0.050030089914799,0.103868767619133,0.096995376050472,-0.014415348879993,-0.004588902462274,-0.091424956917763,0.141906261444092,0.164022862911224,0.022981200367212) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.045464657247066,0.024696826934814,0.002608722308651,-0.016527125611901,0.019908385351300,0.012126649729908,0.055064763873816,0.024289028719068,0.021890137344599,0.015859015285969,0.025626456364989,-0.001937339082360,-0.017287751659751,-0.008749079890549,0.005292378831655,0.082151122391224) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.021253453567624,-0.069074660539627,-0.067473769187927,0.148051977157593,-0.118687883019447,0.007211675401777,0.137223809957504,-0.005841747391969,0.110748782753944,0.102426514029503,0.032460015267134,0.275330394506454,0.173334717750549,-0.085552275180817,-0.036164104938507,0.025995764881372) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.012087787501514,0.273737937211990,0.035925019532442,0.023048769682646,-0.239045605063438,-0.188717857003212,0.087573975324631,0.014991032890975,0.009243125095963,0.059696584939957,0.150876358151436,-0.101725861430168,0.215284824371338,-0.172236740589142,-0.293577194213867,-0.067604444921017) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.098660245537758,-0.127101212739944,-0.120979748666286,-0.009324199520051,-0.123792886734009,-0.160550847649574,0.122034028172493,0.017249496653676,-0.029306059703231,0.001046271063387,-0.033166944980621,0.057983241975307,0.045601274818182,0.021359920501709,-0.023834800347686,0.103897236287594) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.014000697992742,-0.066561885178089,-0.072613060474396,0.075153388082981,0.110205605626106,0.094330996274948,0.074437357485294,0.008109296672046,0.112516485154629,0.086327157914639,0.086975879967213,0.050220537930727,-0.129184603691101,-0.059314008802176,-0.010772221721709,-0.033590514212847) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.061162542551756,0.048689108341932,0.018623143434525,-0.036976091563702,0.178318634629250,0.233415380120277,-0.058716330677271,-0.040417402982712,0.046483293175697,0.000507983262651,0.010864510200918,-0.122542865574360,-0.084437094628811,0.012348093092442,-0.067454069852829,-0.093552008271217) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.026846416294575,0.006956237368286,-0.094142585992813,-0.049902822822332,0.081657730042934,0.159369096159935,-0.052745707333088,-0.010201340541244,0.038763698190451,0.021826276555657,0.034549031406641,-0.003612871980295,-0.033177159726620,-0.053468596190214,-0.095103785395622,0.040979273617268) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.060322191566229,-0.019601108506322,0.003587369807065,0.034378100186586,-0.000963167753071,0.080060675740242,0.012460720725358,-0.016036899760365,0.065314702689648,0.034698881208897,0.004511958919466,-0.113939419388771,-0.062829174101353,-0.139995038509369,-0.088796131312847,-0.048853885382414) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.026768995448947,-0.067964829504490,-0.037239767611027,-0.068314649164677,0.046799015253782,0.031677056103945,0.038493752479553,-0.205238655209541,0.040513068437576,0.061570338904858,-0.015951005741954,0.208920180797577,-0.036752749234438,-0.132956862449646,-0.083652585744858,-0.091169878840446) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.025506746023893,-0.030715664848685,-0.028135634958744,0.058707118034363,0.106949865818024,0.105919204652309,-0.021214548498392,0.030086295679212,0.076776668429375,0.066326528787613,0.024694070219994,-0.081905841827393,-0.076668523252010,-0.098557263612747,-0.008264015428722,-0.006405476480722) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.283557564020157,-0.080171547830105,-0.005385200958699,0.079568460583687,0.004191886633635,-0.036708302795887,0.041494552046061,-0.402694940567017,0.018026456236839,0.059220559895039,0.097497053444386,-0.138830497860909,-0.005920417141169,0.039436355233192,-0.044523466378450,0.057719245553017) * MODEL5_texOff(vec2(0,-1));
res += mat4(-0.594109773635864,0.198293969035149,0.040096808224916,0.093601688742638,0.171770855784416,0.077771350741386,-0.047503281384706,-0.318524628877640,0.076734110713005,0.051993265748024,0.066701889038086,0.185251161456108,-0.052771460264921,0.346750617027283,0.223282635211945,0.246465310454369) * MODEL5_texOff(vec2(0,0));
res += mat4(0.131663724780083,0.085644774138927,-0.049771022051573,-0.043893679976463,0.098348371684551,0.074701026082039,0.186224296689034,-0.031241232529283,-0.027323510497808,0.007878343574703,0.137141093611717,-0.122176788747311,-0.059918850660324,0.032034002244473,0.036813486367464,0.017182901501656) * MODEL5_texOff(vec2(0,1));
res += mat4(0.223336905241013,0.127694055438042,0.065944522619247,-0.070538848638535,-0.036597985774279,0.035997226834297,-0.014421689324081,-0.036425489932299,-0.052406385540962,-0.041826825588942,0.079156108200550,-0.038299620151520,-0.056695178151131,-0.011052215471864,-0.011304295621812,-0.017952769994736) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.095487348735332,0.353169322013855,0.100584052503109,-0.072195075452328,0.004654246382415,-0.048123732209206,-0.075135447084904,-0.046993616968393,0.006047182716429,-0.158879101276398,-0.057549677789211,0.069723464548588,0.048662371933460,0.019103370606899,0.153902858495712,-0.018705839291215) * MODEL5_texOff(vec2(1,0));
res += mat4(0.062498215585947,0.019871255382895,0.310548931360245,0.023837465792894,0.019318401813507,-0.036299683153629,-0.012745534069836,-0.037755411118269,0.053804043680429,0.008673915639520,-0.036595676094294,-0.064518980681896,-0.004525470081717,0.036638267338276,0.048844110220671,-0.034326516091824) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.002650043461472,-0.016946896910667,-0.014116502366960,-0.092761389911175,-0.012850160710514,-0.032156191766262,-0.028054945170879,-0.039387106895447,0.021819250658154,0.062469810247421,0.006944610271603,0.031748458743095,-0.084461130201817,0.014337023720145,0.020783528685570,-0.073939703404903) * MODEL6_texOff(vec2(-1,-1));
res += mat4(0.046995609998703,0.072862468659878,-0.013623955659568,0.010082234628499,-0.052695620805025,0.028126329183578,0.056931287050247,0.049605693668127,0.183108836412430,-0.019674127921462,-0.063249133527279,0.034711439162493,-0.057216625660658,-0.018644060939550,-0.063616663217545,-0.110027588903904) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.003752815769985,0.008232277818024,-0.004075737204403,-0.035603970289230,-0.011361477896571,-0.012129252776504,0.008119193837047,-0.015051129274070,0.003104908624664,0.037810232490301,0.021275851875544,0.027600303292274,0.084755234420300,-0.019308688119054,-0.002186041790992,-0.025616545230150) * MODEL6_texOff(vec2(-1,1));
res += mat4(-0.077060498297215,-0.108358696103096,0.006179898977280,-0.052360564470291,-0.070030689239502,0.070222079753876,0.053625319153070,-0.083649203181267,0.120305150747299,-0.011055259965360,-0.007646544836462,-0.052992835640907,-0.062765292823315,-0.157301738858223,-0.098103322088718,0.068765997886658) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.162496894598007,-0.131953150033951,-0.331941306591034,0.032962400466204,-0.123194240033627,-0.248977810144424,-0.179828077554703,-0.214496970176697,0.098963208496571,-0.216761574149132,-0.184426769614220,-0.082405634224415,-0.041917007416487,-0.196787223219872,-0.138554096221924,0.032670017331839) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.035979099571705,-0.029282970353961,-0.123482011258602,0.038349863141775,-0.043287359178066,-0.070729054510593,-0.056494396179914,0.058434199541807,0.115518294274807,0.032113824039698,-0.203042924404144,0.014577179215848,0.013020120561123,0.105109363794327,0.079858697950840,-0.025177206844091) * MODEL6_texOff(vec2(0,1));
res += mat4(0.037695638835430,-0.056187611073256,-0.028664253652096,0.100423842668533,0.014753983356059,-0.050256710499525,0.006693174131215,0.014678525738418,-0.055542640388012,0.000100556208054,0.086433917284012,-0.022529743611813,-0.092524804174900,0.067938767373562,-0.013949279673398,-0.037231463938951) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.192453533411026,-0.218644335865974,-0.413901031017303,-0.016885364428163,0.064348869025707,0.016903154551983,-0.053233075886965,0.001078240340576,-0.374599963426590,-0.174366220831871,0.128877103328705,0.061689384281635,-0.080011375248432,0.033225722610950,-0.037319853901863,0.005719594191760) * MODEL6_texOff(vec2(1,0));
res += mat4(0.086674518883228,0.071548990905285,-0.004898509010673,0.026729272678494,0.038744878023863,0.034573111683130,0.008409141562879,0.046744599938393,-0.060872036963701,-0.057974800467491,0.003343231743202,0.012876464985311,0.056613385677338,-0.052072264254093,-0.042897567152977,-0.053360149264336) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.015225050039589,0.026208452880383,0.028574205935001,0.007191532291472) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL11
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 8_5

vec4 hook()
{
vec4 res = vec4(-0.241408213973045,0.029298614710569,-0.280736178159714,-0.001240462530404);
res += mat4(0.022972760722041,0.014272278174758,0.039954341948032,-0.020281046628952,-0.056464627385139,0.116951763629913,-0.070023201406002,-0.051977910101414,-0.058347437530756,0.033863551914692,0.001129699288867,-0.007951623760164,-0.003230888396502,-0.001449251663871,-0.013119337148964,-0.034956101328135) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.065860629081726,-0.014551918953657,-0.002577208215371,-0.007752228062600,0.180283173918724,-0.021583750844002,-0.123409636318684,-0.068690270185471,0.003456338075921,-0.170822203159332,-0.108213998377323,0.090926729142666,0.206891015172005,0.092748783528805,-0.055557750165462,-0.102025225758553) * MODEL1_texOff(vec2(-1,0));
res += mat4(0.194269984960556,0.007253813091666,0.010945004411042,-0.008410772308707,-0.027068106457591,-0.065521411597729,-0.003838892793283,0.029601294547319,0.030194520950317,0.004740801639855,-0.127548038959503,-0.016401140019298,0.167840242385864,-0.080491706728935,0.069662258028984,-0.005341774784029) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.120679095387459,0.018274687230587,0.014946419745684,-0.019915319979191,0.167114093899727,-0.000586951558944,0.062271654605865,-0.010451472364366,-0.029825432226062,-0.055086169391870,-0.042141500860453,0.018175335600972,0.016746114939451,0.023963961750269,0.029504213482141,-0.018393952399492) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.356944501399994,0.031562518328428,-0.001582739991136,-0.098472096025944,0.341521441936493,-0.086418673396111,0.107255980372429,0.089708968997002,-0.127725571393967,0.169900491833687,0.017887687310576,-0.027849912643433,0.170373558998108,-0.284370601177216,0.080008782446384,0.185312017798424) * MODEL1_texOff(vec2(0,0));
res += mat4(-0.222114786505699,-0.033821593970060,0.080885827541351,0.003784210886806,0.041156873106956,0.000664503488224,-0.033872455358505,-0.040541432797909,-0.130749523639679,-0.128199517726898,-0.181764870882034,0.074517324566841,0.064066626131535,0.030779711902142,-0.111700437963009,-0.007827682420611) * MODEL1_texOff(vec2(0,1));
res += mat4(0.051804728806019,-0.008979503996670,0.047704651951790,0.018837619572878,0.050528585910797,0.019829099997878,0.013301366008818,0.054867230355740,-0.011927896179259,-0.021545967087150,-0.114213451743126,0.027008865028620,0.024676747620106,0.026631791144609,0.034569144248962,0.021289892494678) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.026548961177468,-0.036743786185980,-0.072246074676514,-0.047685537487268,-0.116415411233902,0.069612480700016,-0.123798847198486,-0.038613647222519,0.049482170492411,-0.024861086159945,-0.030887199565768,-0.037516929209232,-0.058292534202337,0.084366962313652,-0.002654451178387,0.186338379979134) * MODEL1_texOff(vec2(1,0));
res += mat4(0.041801568120718,0.005308169405907,0.131818950176239,0.028767647221684,-0.071856856346130,0.031806513667107,-0.034641649574041,-0.008231198415160,-0.075648091733456,0.032872080802917,-0.022717770189047,-0.019543699920177,-0.075801782310009,0.033602248877287,-0.014372641220689,-0.010339686647058) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.026243364438415,0.009709171019495,-0.124983012676239,-0.015465814620256,-0.024108240380883,0.058589477092028,0.052015706896782,0.031132252886891,0.059493843466043,-0.004289445001632,-0.022341491654515,0.000509601086378,-0.078321933746338,-0.006898860447109,0.003680548630655,-0.004752905108035) * MODEL2_texOff(vec2(-1,-1));
res += mat4(0.108583025634289,-0.072060674428940,0.109335303306580,0.034206937998533,-0.145204648375511,0.290056437253952,0.041164088994265,-0.195122137665749,0.104714930057526,-0.311017334461212,-0.081448599696159,0.131130233407021,0.012008682824671,0.005151130724698,-0.125695675611496,0.003041711635888) * MODEL2_texOff(vec2(-1,0));
res += mat4(0.023371504619718,0.009049729444087,0.042468823492527,0.017335966229439,-0.145833492279053,0.025392893701792,-0.002130998764187,-0.009079552255571,-0.073134757578373,-0.031186254695058,0.014958926476538,0.034440156072378,-0.012714237906039,0.031248811632395,0.043131317943335,0.053858276456594) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.049709536135197,-0.280934244394302,-0.099871687591076,0.086158476769924,0.141876190900803,-0.010910795070231,0.055418223142624,0.094520799815655,-0.064983844757080,-0.074651680886745,-0.068089872598648,0.088336102664471,-0.001077208551578,-0.107564896345139,-0.038499813526869,-0.035650193691254) * MODEL2_texOff(vec2(0,-1));
res += mat4(-0.148741707205772,0.083156883716583,0.325430840253830,0.081239424645901,0.258585453033447,-0.251224547624588,0.041356772184372,0.025720238685608,-0.050217982381582,0.272459417581558,0.056822858750820,-0.026947425678372,-0.145383760333061,0.084660261869431,-0.454833030700684,-0.024121055379510) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.006574496161193,0.042156517505646,0.086547210812569,-0.046838987618685,0.178989976644516,0.009059255011380,0.010261826217175,0.005379830952734,0.053664833307266,0.046110656112432,0.046508185565472,-0.056837636977434,0.052810560911894,0.103569559752941,0.137106880545616,0.022640859708190) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.048955444246531,-0.027649499475956,-0.076609194278717,0.067341700196266,-0.075340598821640,0.032546073198318,-0.020154841244221,0.049354881048203,0.009585836902261,-0.003950176760554,-0.005257046781480,0.035698488354683,-0.046564679592848,-0.010942813009024,-0.016588272526860,-0.053038492798805) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.040394265204668,0.020957408472896,0.093822598457336,-0.035237800329924,-0.023127282038331,0.189093247056007,-0.018987320363522,0.286398500204086,-0.052460178732872,-0.113314062356949,-0.015797426924109,-0.095958568155766,0.048740737140179,-0.098626032471657,-0.033649373799562,-0.005728595424443) * MODEL2_texOff(vec2(1,0));
res += mat4(0.001187321497127,0.010204746387899,0.003579450538382,0.010663487017155,-0.045718375593424,0.070961177349091,0.015368816442788,0.003338063601404,0.060339748859406,-0.104922041296959,-0.121045991778374,-0.026785733178258,0.066215664148331,-0.001786371925846,0.082237213850021,0.041505422443151) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.024303711950779,0.043703433126211,0.009881959296763,-0.032469402998686,0.036543834954500,0.022601129487157,0.057363554835320,-0.005232330877334,-0.013703494332731,-0.027143927291036,0.000269932614174,0.006739608477801,0.001573029207066,-0.002742852317169,-0.017638117074966,-0.000848600815516) * MODEL3_texOff(vec2(-1,-1));
res += mat4(0.009919652715325,-0.011559595353901,0.079243138432503,0.086948983371258,-0.103893451392651,0.039037045091391,0.113492719829082,0.025745585560799,-0.126658856868744,-0.018564410507679,-0.028468174859881,-0.053619779646397,0.039584334939718,-0.010026513598859,0.018705021589994,0.024186016991735) * MODEL3_texOff(vec2(-1,0));
res += mat4(0.094739504158497,-0.023852946236730,-0.016174238175154,-0.056053820997477,0.015629233792424,-0.018923452124000,-0.124579265713692,-0.004100323189050,-0.040124330669641,0.067144647240639,-0.041464470326900,0.000182604882866,-0.071308612823486,0.022731382399797,0.072872221469879,-0.013515347614884) * MODEL3_texOff(vec2(-1,1));
res += mat4(0.019987484440207,0.199761137366295,0.084344856441021,-0.006769016385078,0.023642027750611,0.121512040495872,0.179546117782593,0.108625397086143,-0.073655799031258,-0.197780936956406,-0.084360785782337,0.029609151184559,0.028924893587828,0.056043751537800,0.096592187881470,-0.013103454373777) * MODEL3_texOff(vec2(0,-1));
res += mat4(-0.029298949986696,-0.094953387975693,0.110047459602356,-0.061653237789869,-0.031209509819746,0.041842110455036,0.435209184885025,-0.125734016299248,-0.104618266224861,0.144511476159096,0.009841966442764,-0.002385563682765,-0.082987993955612,0.112646609544754,-0.121677376329899,-0.043898180127144) * MODEL3_texOff(vec2(0,0));
res += mat4(-0.177738726139069,-0.020952817052603,-0.231591984629631,0.026648750528693,-0.036262795329094,-0.031180214136839,-0.059370320290327,0.027748636901379,-0.038958415389061,-0.008610888384283,0.101421855390072,-0.036207135766745,0.127678409218788,-0.063863284885883,0.337194979190826,-0.038599912077188) * MODEL3_texOff(vec2(0,1));
res += mat4(0.021793289110065,0.009522189386189,-0.012340441346169,0.027327585965395,-0.062117930501699,0.073863059282303,0.007011146750301,-0.009753189980984,0.023017702624202,0.011615670286119,-0.024118669331074,-0.043944388628006,0.004567700903863,-0.022962853312492,0.026416668668389,-0.010845656506717) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.045078925788403,-0.037017904222012,0.065572649240494,0.030222095549107,0.009150438942015,0.007734028622508,0.058601569384336,0.098629564046860,-0.023540446534753,0.014587310142815,-0.023661384359002,-0.044456679373980,0.135430455207825,-0.022978905588388,-0.025965966284275,0.025112954899669) * MODEL3_texOff(vec2(1,0));
res += mat4(0.025664743036032,-0.068585291504860,-0.052611805498600,-0.005324899218976,-0.001114951912314,-0.017837669700384,-0.045522063970566,-0.050200246274471,-0.064343422651291,0.015911146998405,0.074319124221802,0.013655207119882,-0.035998880863190,-0.041636642068624,-0.007167660165578,0.028359061107039) * MODEL3_texOff(vec2(1,1));
res += mat4(0.025054093450308,-0.057970758527517,-0.064970389008522,0.002031099284068,0.031899351626635,-0.034999866038561,0.032977454364300,0.023469788953662,0.013160381466150,0.023737112060189,0.182707488536835,-0.008077256381512,0.222968801856041,-0.067526035010815,0.035380993038416,0.004517371300608) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.021084761247039,0.122829586267471,-0.122498027980328,-0.035825517028570,0.062770284712315,0.062404572963715,-0.081903487443924,-0.020425820723176,0.152149647474289,-0.010338042862713,-0.141193002462387,-0.041100293397903,0.247957229614258,-0.125240162014961,0.040607828646898,0.128111213445663) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.023188414052129,-0.024630961939692,0.004050664138049,-0.006665717344731,0.025656528770924,-0.046989206224680,-0.009259848855436,-0.010227056220174,-0.029771633446217,0.026211548596621,0.063610687851906,0.007402555551380,-0.027631426230073,0.005654641427100,0.007916347123682,-0.046194825321436) * MODEL4_texOff(vec2(-1,1));
res += mat4(0.018017385154963,0.083395212888718,-0.036710854619741,-0.001164796180092,-0.002698984928429,0.024679651483893,0.071059219539165,-0.091714344918728,0.106346964836121,-0.047386977821589,0.196635410189629,0.039924222975969,-0.131997436285019,-0.055216144770384,0.027370428666472,0.040527913719416) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.054344687610865,-0.358744293451309,-0.151449352502823,0.006337065715343,0.144864022731781,-0.123720251023769,-0.087345838546753,0.286379694938660,-0.048943459987640,-0.041557475924492,-0.309256941080093,-0.105989530682564,-0.439354509115219,0.112886682152748,-0.065527699887753,0.111282899975777) * MODEL4_texOff(vec2(0,0));
res += mat4(-0.114940881729126,0.115458630025387,-0.082641936838627,0.035297360271215,-0.098927028477192,0.010482950136065,0.069721341133118,-0.050109189003706,-0.036297313868999,-0.004173371475190,0.037083722651005,0.057633243501186,-0.015406438149512,0.022297255694866,0.014979501254857,-0.057394895702600) * MODEL4_texOff(vec2(0,1));
res += mat4(-0.035131137818098,0.043521106243134,-0.023785922676325,-0.060756940394640,0.063334286212921,-0.036609247326851,0.050934690982103,-0.018810249865055,0.035551007837057,0.009099441580474,0.047838736325502,-0.051102735102177,0.021722134202719,-0.018858879804611,0.034396644681692,-0.017132900655270) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.007459596265107,0.004615996032953,-0.070841759443283,0.098812066018581,0.143226623535156,0.023417437449098,-0.146449565887451,0.182129159569740,0.071816235780716,0.001616588095203,0.116509929299355,0.021473335102201,-0.100392825901508,-0.008324203081429,-0.066920593380928,-0.087896078824997) * MODEL4_texOff(vec2(1,0));
res += mat4(0.062846325337887,-0.048501662909985,-0.092765174806118,-0.000406020320952,0.000105354571133,0.084516651928425,-0.135818660259247,0.001568125793710,0.022432846948504,-0.015995189547539,-0.020152309909463,0.000933637085836,-0.033346731215715,-0.016521442681551,-0.061789389699697,-0.003019714029506) * MODEL4_texOff(vec2(1,1));
res += mat4(-0.020557222887874,0.021074214950204,0.018515976145864,-0.015855127945542,0.015388003550470,0.001577035756782,0.084565795958042,-0.007454391103238,-0.037607010453939,0.016765890643001,-0.072289615869522,-0.027840366587043,-0.010475354269147,-0.073630519211292,-0.072647988796234,0.053886651992798) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.009981095790863,0.102463684976101,0.012074301950634,-0.059532105922699,-0.007429329678416,0.035074047744274,0.171753823757172,0.028531474992633,0.124698087573051,-0.012193269096315,-0.001133855897933,-0.001776823773980,-0.344595998525620,0.385881483554840,0.127373740077019,-0.084369346499443) * MODEL5_texOff(vec2(-1,0));
res += mat4(-0.051835317164660,-0.005915245041251,0.089589074254036,-0.031963229179382,0.112055368721485,-0.009505638852715,0.011237836442888,-0.026283349841833,0.136142462491989,0.003871619934216,0.075982503592968,-0.034921173006296,-0.112086877226830,0.074525728821754,-0.021684009581804,-0.069181196391582) * MODEL5_texOff(vec2(-1,1));
res += mat4(0.089756309986115,-0.005207582842559,0.015083761885762,0.018766878172755,-0.291645288467407,0.109913915395737,0.123843416571617,-0.113379351794720,0.048721291124821,0.043179478496313,0.011413934640586,-0.050501812249422,-0.092378847301006,0.191045850515366,0.028806241229177,-0.180501684546471) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.218192830681801,-0.352262198925018,-0.131874874234200,0.157622963190079,-0.020611455664039,0.087708733975887,0.060755524784327,0.059195712208748,0.033651903271675,-0.117827035486698,0.030339360237122,0.026576921343803,-0.062359638512135,-0.306319326162338,-0.160575270652771,0.116373144090176) * MODEL5_texOff(vec2(0,0));
res += mat4(0.095778375864029,-0.057915486395359,0.082017958164215,-0.036717001348734,0.087361589074135,0.003754771547392,0.091278128325939,-0.061734296381474,0.029654791578650,-0.026886332780123,-0.032404083758593,-0.005808904767036,0.054825488477945,0.014608568511903,-0.026268951594830,-0.087098069489002) * MODEL5_texOff(vec2(0,1));
res += mat4(-0.073179461061954,-0.010832052677870,-0.050828054547310,0.014010652899742,-0.015533232130110,-0.008838358335197,0.029329525306821,0.002013451885432,0.025371491909027,-0.019969535991549,-0.018479045480490,0.005023556295782,0.051209811121225,-0.041047517210245,0.013051612302661,-0.046145897358656) * MODEL5_texOff(vec2(1,-1));
res += mat4(0.036317411810160,-0.077708825469017,-0.066392004489899,0.386783689260483,0.093604974448681,-0.009735438041389,0.104666888713837,-0.073579601943493,0.006278640124947,0.020522294566035,0.021451197564602,-0.031096050515771,0.093180581927299,0.099876590073109,-0.025453949347138,0.129566684365273) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.012880147434771,-0.026706108823419,0.000979129457846,0.008814511820674,0.019604336470366,0.011153726838529,0.082618862390518,-0.010871492326260,0.047350842505693,0.016789508983493,0.132911041378975,-0.024961087852716,-0.033180039376020,0.064265608787537,0.036219775676727,-0.042153283953667) * MODEL5_texOff(vec2(1,1));
res += mat4(0.002675059949979,0.010117894969881,-0.031226845458150,-0.003099927911535,0.020119318738580,0.066193997859955,-0.037335973232985,0.037819303572178,-0.038513150066137,-0.068317294120789,0.019843854010105,-0.000205711607123,0.063679993152618,-0.022639188915491,-0.127269163727760,-0.010770979337394) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.136043027043343,-0.047326792031527,-0.012701681815088,0.067426636815071,0.133869975805283,-0.161937505006790,-0.146195307374001,0.171284809708595,-0.129227042198181,-0.140171214938164,-0.090191148221493,0.107378304004669,-0.158174291253090,0.009603378362954,-0.089846849441528,-0.039743341505527) * MODEL6_texOff(vec2(-1,0));
res += mat4(-0.000778017623816,0.011155938729644,-0.004770670551807,-0.016441721469164,-0.010948493145406,0.008261314593256,0.028705554082990,0.054245382547379,-0.084430724382401,-0.037706218659878,0.069822177290916,0.083960965275764,-0.035688370466232,0.058002389967442,-0.177557200193405,-0.026822086423635) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.118113353848457,-0.032800327986479,0.033125251531601,0.012339637614787,-0.070981241762638,0.216913834214211,-0.050957936793566,-0.006933954544365,-0.044901464134455,-0.034703206270933,-0.020739387720823,0.020450601354241,-0.086729630827904,0.068445779383183,-0.066384457051754,-0.065342418849468) * MODEL6_texOff(vec2(0,-1));
res += mat4(0.034279901534319,0.029029028490186,-0.020100783556700,0.128785803914070,0.094038493931293,-0.308814674615860,-0.090983882546425,-0.578524410724640,-0.046752687543631,0.283188968896866,0.049638647586107,-0.280479878187180,-0.256355285644531,-0.033507093787193,-0.195067867636681,-0.126310244202614) * MODEL6_texOff(vec2(0,0));
res += mat4(0.010320710018277,0.014574795961380,0.112719647586346,0.020595263689756,0.098901391029358,0.095006190240383,0.138149142265320,0.031786419451237,-0.024041514843702,0.039930254220963,-0.069287300109863,0.070641584694386,0.154206559062004,-0.019827796146274,-0.099335573613644,0.055874455720186) * MODEL6_texOff(vec2(0,1));
res += mat4(0.056193467229605,0.015089845284820,0.105966553092003,-0.011958808638155,0.020148646086454,0.056642852723598,0.036821156740189,-0.000785837182775,0.043244920670986,-0.014241350814700,0.056684937328100,-0.003692868165672,-0.045559179037809,-0.017314061522484,-0.067477628588676,-0.026961443945765) * MODEL6_texOff(vec2(1,-1));
res += mat4(-0.140603765845299,0.124576866626740,0.021747384220362,-0.024424046278000,-0.031446024775505,0.047332137823105,-0.058585464954376,0.105789467692375,-0.041227336972952,-0.172334119677544,0.018845273181796,-0.183786734938622,0.167005211114883,-0.019404338672757,-0.001682677422650,-0.079957261681557) * MODEL6_texOff(vec2(1,0));
res += mat4(0.026997195556760,0.058547943830490,0.079203091561794,0.007558187004179,-0.027708819136024,0.042618103325367,-0.013294553384185,0.039169363677502,0.059665568172932,-0.087241068482399,0.047656442970037,0.024775831028819,-0.003317567752674,0.014401657506824,0.120531775057316,0.020314600318670) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.015515391714871,0.987852632999420,-0.049671906977892,0.887008488178253) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL1
//!BIND MODEL2
//!BIND MODEL3
//!BIND MODEL4
//!BIND MODEL5
//!BIND MODEL6
//!SAVE MODEL12
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] mapping 8_6

vec4 hook()
{
vec4 res = vec4(-0.425267100334167,-0.266308963298798,-0.099221386015415,-0.255736827850342);
res += mat4(0.072708055377007,0.089745000004768,0.025409083813429,0.204068034887314,0.045658841729164,-0.091159254312515,0.057964511215687,0.074800103902817,0.020041000097990,0.000380490266252,-0.051145344972610,0.059689801186323,-0.098601445555687,-0.029650671407580,0.038823936134577,-0.055472657084465) * MODEL1_texOff(vec2(-1,-1));
res += mat4(0.272314995527267,-0.121868647634983,0.024424375966191,0.048539500683546,-0.049282804131508,-0.081665821373463,0.043021645396948,0.028575491160154,0.170551598072052,-0.074463687837124,-0.029005700722337,-0.166784882545471,-0.128788009285927,-0.053532052785158,0.018610887229443,0.072603806853294) * MODEL1_texOff(vec2(-1,0));
res += mat4(-0.041968673467636,0.219604104757309,-0.027858093380928,0.071541845798492,0.016439450904727,0.014641609974205,-0.065972991287708,-0.014910882338881,-0.018105078488588,-0.032274760305882,0.004457968287170,0.022876460105181,-0.065510720014572,0.094649128615856,-0.103040784597397,-0.026489026844501) * MODEL1_texOff(vec2(-1,1));
res += mat4(-0.082933902740479,0.104757368564606,0.015711808577180,-0.075951114296913,-0.047496248036623,0.061299324035645,0.011252576485276,-0.010481045581400,-0.109468184411526,0.039118666201830,-0.079862236976624,-0.065529428422451,-0.053085021674633,0.113190501928329,-0.003910566214472,-0.209654510021210) * MODEL1_texOff(vec2(0,-1));
res += mat4(-0.073388718068600,-0.015163977630436,0.113258995115757,-0.057417090982199,-0.046162307262421,0.112054534256458,-0.344440221786499,-0.160969510674477,0.268349796533585,-0.064038679003716,0.196847558021545,0.183897361159325,-0.018327131867409,0.001578471157700,0.068612702190876,-0.091725468635559) * MODEL1_texOff(vec2(0,0));
res += mat4(0.062849380075932,0.170383945107460,0.014346943236887,-0.061370626091957,0.074484750628471,-0.070177622139454,0.168060660362244,-0.135541439056396,0.005044830963016,0.031774051487446,0.007276609539986,-0.046821333467960,0.015757685527205,0.054661322385073,0.083243340253830,0.032535150647163) * MODEL1_texOff(vec2(0,1));
res += mat4(0.033538822084665,-0.016791289672256,0.015643974766135,-0.084919102489948,0.019290298223495,-0.071821130812168,0.008880703710020,-0.023468792438507,0.081707552075386,0.043097458779812,-0.102677874267101,-0.010908100754023,-0.015244410373271,0.082658961415291,0.016438765451312,-0.005547935608774) * MODEL1_texOff(vec2(1,-1));
res += mat4(0.162338405847549,0.105502918362617,-0.013328525237739,0.008853740058839,-0.022081417962909,-0.081904307007790,0.041427861899137,-0.134605735540390,-0.002920948434621,-0.045438483357430,-0.086525052785873,0.043529354035854,-0.004456168040633,-0.052243154495955,-0.061627611517906,0.021621551364660) * MODEL1_texOff(vec2(1,0));
res += mat4(0.030913837254047,-0.005915868561715,-0.049985788762569,0.059699475765228,0.053902685642242,-0.054659575223923,-0.041994217783213,-0.035829499363899,-0.093262083828449,-0.081117950379848,0.168162822723389,-0.061649583280087,0.045019265264273,0.088162720203400,0.009767837822437,-0.074450947344303) * MODEL1_texOff(vec2(1,1));
res += mat4(-0.163604751229286,0.012779913842678,-0.012796605005860,-0.018048075959086,0.006708172615618,0.116493523120880,-0.012381274253130,-0.022224523127079,0.031647332012653,-0.100017413496971,0.036940131336451,-0.030175656080246,0.042536314576864,0.036266554147005,0.032500434666872,0.052766740322113) * MODEL2_texOff(vec2(-1,-1));
res += mat4(-0.082910187542439,0.039304751902819,0.000095490904641,-0.023932388052344,-0.062361035495996,0.066437311470509,0.019481183961034,0.216925635933876,0.038509529083967,-0.067657768726349,0.000739603536204,-0.070574603974819,-0.155842453241348,0.038361798971891,0.074172578752041,-0.007698921486735) * MODEL2_texOff(vec2(-1,0));
res += mat4(-0.037202604115009,-0.006773528177291,0.088705122470856,-0.009094121865928,-0.032252784818411,0.062113266438246,-0.058139543980360,0.074667915701866,0.021055722609162,-0.031722176820040,-0.025509545579553,-0.043740376830101,0.152203515172005,0.045192159712315,0.001564277918078,0.085287906229496) * MODEL2_texOff(vec2(-1,1));
res += mat4(0.220495298504829,0.222013592720032,-0.195523828268051,0.073075450956821,-0.007998192682862,0.018320221453905,0.068698868155479,0.039420720189810,-0.037486571818590,-0.047205433249474,0.023510573431849,-0.050598680973053,-0.004098582081497,-0.104305058717728,0.079700231552124,0.021828250959516) * MODEL2_texOff(vec2(0,-1));
res += mat4(0.277351796627045,-0.011576170101762,-0.138387203216553,-0.137218460440636,0.120853260159492,-0.009356664493680,-0.177231475710869,0.349753737449646,-0.019107364118099,0.230687156319618,-0.229642122983932,0.090803444385529,0.061457570642233,0.341248780488968,-0.263424336910248,0.102880500257015) * MODEL2_texOff(vec2(0,0));
res += mat4(-0.026984289288521,0.033810388296843,-0.025512799620628,-0.011392381042242,-0.004908721894026,0.012373989447951,0.066550001502037,0.067674979567528,-0.042846404016018,-0.264804393053055,0.155315786600113,-0.081418082118034,-0.058977711945772,0.091362483799458,-0.177769735455513,0.043381478637457) * MODEL2_texOff(vec2(0,1));
res += mat4(-0.074003778398037,0.194867342710495,-0.227143660187721,-0.059125233441591,-0.031712125986814,0.050189033150673,-0.019514689221978,0.054519250988960,0.067999266088009,0.007927350699902,-0.055626794695854,0.015969682484865,-0.057308882474899,-0.035488806664944,0.025862596929073,-0.048417236655951) * MODEL2_texOff(vec2(1,-1));
res += mat4(-0.045245200395584,0.043341625481844,0.145649313926697,0.091521807014942,-0.117890834808350,-0.034036401659250,0.035269021987915,-0.060245871543884,0.014831705018878,-0.087382242083549,0.044399730861187,-0.050061687827110,0.148738905787468,0.159608498215675,0.052965510636568,0.003755423938856) * MODEL2_texOff(vec2(1,0));
res += mat4(-0.005486625246704,0.082664772868156,-0.096186287701130,-0.001520753838122,0.028885327279568,-0.014542226679623,-0.055044613778591,0.038597360253334,0.048132125288248,-0.119676023721695,-0.110663644969463,-0.002998714102432,0.014380516484380,0.093001775443554,-0.053757708519697,0.064286775887012) * MODEL2_texOff(vec2(1,1));
res += mat4(-0.052738238126040,0.077410131692886,-0.018071206286550,-0.037515036761761,0.054763115942478,0.079246692359447,-0.022007491439581,-0.018398558720946,-0.031070211902261,0.099003069102764,0.003205070504919,-0.015703806653619,-0.032591372728348,0.001139968982898,-0.008743580430746,-0.002266496652737) * MODEL3_texOff(vec2(-1,-1));
res += mat4(-0.072105616331100,-0.030157355591655,-0.024642294272780,0.021799031645060,0.229786381125450,-0.119588255882263,0.011426556855440,-0.028582910075784,-0.101648382842541,0.156613439321518,-0.028431557118893,0.058912102133036,0.094232775270939,0.079810105264187,-0.014468971639872,-0.014518781565130) * MODEL3_texOff(vec2(-1,0));
res += mat4(-0.104134671390057,-0.007413836661726,-0.018489042297006,-0.048512175679207,-0.036544900387526,-0.055224806070328,-0.062778800725937,0.000458075257484,-0.147369846701622,-0.020033936947584,0.044802058488131,0.007747390307486,0.054059952497482,0.026076344773173,0.020492382347584,0.013184702955186) * MODEL3_texOff(vec2(-1,1));
res += mat4(-0.082283556461334,0.047377385199070,-0.055292639881372,-0.098080366849899,0.100278377532959,0.204338297247887,0.061292007565498,0.006364578846842,0.156969442963600,-0.055194679647684,0.131608918309212,0.074208639562130,-0.051506374031305,0.010724318213761,-0.019264407455921,-0.003773717209697) * MODEL3_texOff(vec2(0,-1));
res += mat4(0.053895741701126,-0.032414395362139,-0.048932075500488,-0.050091881304979,-0.384710103273392,-0.129262849688530,0.058570351451635,0.036585841327906,0.011381178162992,0.156645834445953,-0.041680492460728,0.007576406933367,-0.129700213670731,0.110131002962589,0.046553537249565,0.045779608190060) * MODEL3_texOff(vec2(0,0));
res += mat4(0.061510819941759,-0.002748929662630,0.150075137615204,-0.071768261492252,0.041101351380348,-0.027427284047008,0.075603052973747,0.064001649618149,0.041177995502949,0.078973419964314,-0.074013352394104,0.056822959333658,-0.201964378356934,-0.324604362249374,0.177721932530403,-0.118384703993797) * MODEL3_texOff(vec2(0,1));
res += mat4(-0.053408786654472,-0.042571403086185,-0.065888099372387,0.042495716363192,0.068766541779041,0.142299383878708,-0.048897542059422,-0.133039399981499,-0.117129318416119,0.089223124086857,0.023880548775196,-0.109038569033146,-0.017605291679502,-0.050807263702154,-0.030667977407575,0.013969618827105) * MODEL3_texOff(vec2(1,-1));
res += mat4(-0.144205138087273,-0.138335764408112,-0.056915868073702,-0.033348809927702,0.043625876307487,-0.088128857314587,-0.167652919888496,0.025134792551398,-0.023109646514058,0.357675015926361,0.078827179968357,0.011402852833271,0.003048302140087,-0.044531408697367,0.072501152753830,0.002552299294621) * MODEL3_texOff(vec2(1,0));
res += mat4(-0.020638072863221,-0.018765838816762,0.129158109426498,0.070437319576740,-0.035434927791357,-0.016341920942068,0.191924661397934,0.011955697089434,-0.021088426932693,-0.140878587961197,-0.102629177272320,-0.042669419199228,-0.103393554687500,-0.128990873694420,0.089521393179893,-0.017037475481629) * MODEL3_texOff(vec2(1,1));
res += mat4(-0.054625779390335,-0.075774371623993,-0.005727031268179,-0.022209323942661,0.052923019975424,0.052966602146626,0.003694749902934,0.055763877928257,0.194464147090912,0.047630108892918,0.040764328092337,0.112482197582722,-0.027553301304579,0.088565535843372,-0.035095017403364,-0.103766128420830) * MODEL4_texOff(vec2(-1,-1));
res += mat4(0.002230877755210,0.086981087923050,0.018989456817508,-0.030398638918996,-0.050931204110384,0.028301026672125,-0.015580418519676,0.024342820048332,0.010516582056880,0.022434288635850,0.070493571460247,-0.036341153085232,-0.008022166788578,0.032586861401796,-0.054113771766424,-0.108940869569778) * MODEL4_texOff(vec2(-1,0));
res += mat4(-0.008447400294244,-0.043296642601490,-0.007307031657547,-0.001088945893571,-0.070477113127708,0.025535142049193,0.034311871975660,-0.005705273710191,-0.005469078198075,0.086294099688530,0.021038705483079,0.027017693966627,0.016512997448444,0.075273349881172,0.060853503644466,0.010670169256628) * MODEL4_texOff(vec2(-1,1));
res += mat4(-0.029410725459456,-0.311216920614243,0.144462361931801,-0.032260507345200,0.024764431640506,0.062861949205399,0.023828705772758,-0.159581184387207,0.017091235145926,-0.421376943588257,0.192034408450127,-0.023853201419115,0.115848444402218,0.032365769147873,-0.063347935676575,0.187905654311180) * MODEL4_texOff(vec2(0,-1));
res += mat4(0.446469455957413,0.053433883935213,-0.204148977994919,0.227188751101494,0.029457351192832,-0.044617705047131,0.022149305790663,-0.181356623768806,0.069301657378674,-0.102505095303059,0.007145676296204,0.069206692278385,-0.104399986565113,-0.011168614029884,0.153873413801193,-0.071159631013870) * MODEL4_texOff(vec2(0,0));
res += mat4(0.035650629550219,0.018136341124773,0.115787662565708,-0.080295443534851,-0.051307648420334,-0.065105065703392,0.009974426589906,-0.097505845129490,-0.030887797474861,-0.040769338607788,-0.114968091249466,-0.016696548089385,0.089244574308395,0.008206657133996,-0.047866720706224,0.043885551393032) * MODEL4_texOff(vec2(0,1));
res += mat4(0.107816554605961,-0.189108669757843,0.011859575286508,0.080468736588955,0.023746849969029,0.018770428374410,-0.024323029443622,0.022620433941483,-0.056907247751951,-0.077264599502087,-0.027995780110359,0.030527560040355,-0.107851870357990,-0.030268199741840,-0.017555845901370,-0.036816436797380) * MODEL4_texOff(vec2(1,-1));
res += mat4(-0.059073906391859,-0.171127870678902,0.107110932469368,-0.153788834810257,-0.095864258706570,-0.006065433844924,-0.109693109989166,-0.013456981629133,0.009591457433999,0.036569289863110,0.130016729235649,0.095551840960979,-0.089434869587421,-0.002794827567413,0.014814066700637,0.027710847556591) * MODEL4_texOff(vec2(1,0));
res += mat4(-0.025825370103121,0.076262317597866,-0.102240473031998,-0.001425679656677,0.019511396065354,-0.039630830287933,-0.151673272252083,0.075971417129040,0.028950823470950,0.001822126563638,0.029561629518867,0.009793626144528,-0.039880316704512,-0.077302552759647,-0.055223789066076,0.023800756782293) * MODEL4_texOff(vec2(1,1));
res += mat4(0.061688154935837,0.028050258755684,-0.010659808292985,-0.010322903282940,0.100942119956017,-0.139167740941048,0.013245096430182,0.069704443216324,-0.068609490990639,0.126486361026764,-0.021907169371843,0.063294291496277,-0.004792644176632,-0.087724201381207,0.017302231863141,-0.005384072195739) * MODEL5_texOff(vec2(-1,-1));
res += mat4(-0.056893456727266,-0.001497620251030,0.054210264235735,0.060934219509363,0.031682133674622,-0.016369743272662,0.027174118906260,0.040219988673925,0.226917609572411,-0.019989749416709,0.002815531566739,0.047980513423681,-0.022670824080706,-0.037273798137903,0.052894040942192,0.024565694853663) * MODEL5_texOff(vec2(-1,0));
res += mat4(0.032669708132744,-0.030410010367632,0.011135803535581,0.016718802973628,-0.067892827093601,-0.001278629060835,-0.030047053471208,0.085065960884094,0.046640645712614,0.210854172706604,0.024843163788319,0.018792532384396,-0.007551952730864,0.067102313041687,-0.059058606624603,-0.066602922976017) * MODEL5_texOff(vec2(-1,1));
res += mat4(-0.010925283655524,-0.012497658841312,0.065514057874680,-0.081092096865177,-0.042728569358587,-0.094901263713837,-0.110366232693195,0.106309890747070,-0.029185449704528,0.062698252499104,-0.024276550859213,-0.037168994545937,0.091318920254707,-0.061200998723507,-0.082126490771770,0.020962713286281) * MODEL5_texOff(vec2(0,-1));
res += mat4(0.268855899572372,-0.045943688601255,-0.121925391256809,-0.026668433099985,-0.410018980503082,0.138367235660553,0.249367386102676,-0.219281509518623,0.043987583369017,-0.125335216522217,0.001961571630090,-0.007387703750283,-0.136779814958572,-0.109842188656330,0.303022146224976,0.064047530293465) * MODEL5_texOff(vec2(0,0));
res += mat4(-0.014185037463903,-0.026382181793451,0.009700335562229,0.035802967846394,-0.019216248765588,-0.016437301412225,0.095106616616249,0.088078752160072,0.200491055846214,0.221064835786819,0.046339090913534,0.055923406034708,-0.000727358274162,0.017320744693279,-0.091733865439892,0.053697258234024) * MODEL5_texOff(vec2(0,1));
res += mat4(0.050161004066467,-0.026835050433874,-0.046120461076498,0.206974700093269,0.075607344508171,-0.109037347137928,0.034734979271889,-0.020833915099502,0.053955063223839,0.077699080109596,0.070359021425247,-0.021222896873951,-0.012634753249586,0.007880805991590,0.065362207591534,-0.033609014004469) * MODEL5_texOff(vec2(1,-1));
res += mat4(-0.031705044209957,0.063020393252373,0.046341422945261,-0.133089676499367,0.035737071186304,-0.065422281622887,-0.168168440461159,0.049112930893898,0.102881491184235,-0.109725758433342,0.020519206300378,0.117344938218594,0.001207667752169,0.046344760805368,-0.100352391600609,0.065453648567200) * MODEL5_texOff(vec2(1,0));
res += mat4(-0.055031746625900,-0.138522014021873,0.048407990485430,-0.106744527816772,0.004990056622773,-0.075203426182270,-0.025833221152425,0.018548263236880,-0.018177686259151,0.188318729400635,0.151343345642090,0.074398949742317,-0.012400479055941,0.030812224373221,0.077116377651691,0.049614083021879) * MODEL5_texOff(vec2(1,1));
res += mat4(-0.022914383560419,0.092334434390068,-0.013180821202695,-0.039008922874928,-0.080304697155952,-0.067585751414299,0.000214147876250,-0.073995545506477,-0.026109358295798,0.050750356167555,0.032766666263342,0.060884155333042,-0.070409536361694,0.024740878492594,0.005474155303091,-0.032321609556675) * MODEL6_texOff(vec2(-1,-1));
res += mat4(-0.083378374576569,-0.191833958029747,-0.105299301445484,-0.065746076405048,0.028571303933859,-0.028610793873668,-0.013776035979390,-0.111056908965111,-0.177031025290489,-0.034640062600374,-0.009838971309364,-0.120432436466217,-0.107164159417152,-0.072765886783600,-0.010663924738765,0.036158930510283) * MODEL6_texOff(vec2(-1,0));
res += mat4(0.080585010349751,0.021352034062147,-0.007276611402631,-0.029409816488624,0.031845547258854,0.011964121833444,0.008023867383599,0.031103076413274,-0.036752995103598,0.062317281961441,0.012741882354021,0.003262155689299,-0.022329088300467,0.026260685175657,-0.015243945643306,0.005295105744153) * MODEL6_texOff(vec2(-1,1));
res += mat4(0.097437441349030,0.052720088511705,-0.038944389671087,-0.199960350990295,-0.058282926678658,0.086874961853027,-0.118349432945251,0.017802342772484,-0.035407442599535,0.078523099422455,-0.026452159509063,0.070525668561459,-0.083682544529438,-0.131984308362007,0.036612290889025,-0.056460496038198) * MODEL6_texOff(vec2(0,-1));
res += mat4(-0.092966057360172,-0.115830607712269,-0.097082823514938,-0.426996022462845,0.221102222800255,0.098566465079784,0.219413012266159,0.164055228233337,-0.119076438248158,-0.155519977211952,0.036791782826185,0.234424933791161,-0.175103589892387,-0.081841841340065,0.027181999757886,-0.210040345788002) * MODEL6_texOff(vec2(0,0));
res += mat4(-0.088229462504387,0.116798557341099,-0.049246989190578,0.132896721363068,-0.022165222093463,-0.017388530075550,-0.171862691640854,0.029167369008064,0.019206114113331,-0.045312177389860,-0.143394604325294,0.053058985620737,0.129177793860435,0.064183741807938,-0.115248389542103,0.043139252811670) * MODEL6_texOff(vec2(0,1));
res += mat4(0.060089815407991,0.069828666746616,-0.061410121619701,0.096368551254272,0.018224025145173,-0.028147062286735,-0.063058689236641,0.092507295310497,-0.100059136748314,0.137405678629875,-0.008045244961977,-0.012170922011137,-0.052880547940731,-0.055802926421165,0.079464085400105,0.009519144892693) * MODEL6_texOff(vec2(1,-1));
res += mat4(0.094743363559246,0.017509458586574,0.119000196456909,0.003300852607936,0.024267174303532,-0.017714004963636,0.079956114292145,-0.013628244400024,0.007028592750430,-0.085820026695728,-0.081908926367760,0.215692654252052,0.065234579145908,-0.067629933357239,-0.102488972246647,0.073866911232471) * MODEL6_texOff(vec2(1,0));
res += mat4(0.068997882306576,0.154432281851768,-0.035299263894558,0.032733619213104,0.030020974576473,0.058778546750546,-0.075661912560463,-0.053318280726671,0.006562454160303,0.115239001810551,0.017252359539270,-0.020391114056110,0.026089932769537,0.150341764092445,0.036639597266912,0.094655707478523) * MODEL6_texOff(vec2(1,1));
res = max(res, vec4(0.0)) + vec4(0.003091264516115,0.058757666498423,0.640827417373657,0.001271065324545) * min(res, vec4(0.0));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV1
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] sup-pixel convolution 1

vec4 hook()
{
vec4 res = vec4(-0.000284205481876,0.000109685599455,0.001356344902888,0.000725358317140);
res += mat4(-0.010123074986041,-0.006230739410967,0.000272403762210,0.004182146862149,-0.009013198316097,-0.001568684820086,0.001924181706272,0.000652578193694,0.008039019070566,0.007008669897914,0.001396780950017,-0.001337110530585,-0.004224266391248,-0.001786609762348,-0.002350436057895,-0.004305913578719) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.029785901308060,0.024941915646195,0.008227004669607,-0.006863671354949,0.000520837609656,-0.003725665155798,-0.006048206705600,-0.007305578794330,-0.004670498892665,-0.004186847712845,-0.006660311948508,-0.001219323370606,-0.005099773406982,-0.013307949528098,0.008180788718164,0.012665930204093) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.002718986012042,0.001528641674668,0.009021539241076,0.017039140686393,0.004237400833517,0.007007149513811,0.006186816375703,0.002564413705841,0.005257417913526,0.005148097872734,-0.001487023546360,-0.009798038750887,0.002473694505170,0.001988874282688,0.000751181214582,0.006325572729111) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.008939943276346,-0.004180748946965,-0.001240716781467,-0.000646129483357,0.000939055636991,0.005655425135046,0.009121313691139,0.007911383174360,0.028275979682803,0.015734352171421,0.001266285777092,-0.003694489132613,-0.014069595374167,-0.005308787338436,0.001309672486968,-0.002892467658967) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.008519139140844,-0.010405336506665,-0.011225370690227,-0.011352863162756,0.004776444751769,-0.001347208395600,-0.005563965067267,0.000041659139242,-0.017323458567262,-0.008989887312055,0.006349725183100,0.025306673720479,-0.027712412178516,-0.027230206876993,0.032196875661612,0.025772692635655) * MODEL7_texOff(vec2(0,0));
res += mat4(-0.000149586456246,-0.001457744743675,-0.003273450303823,-0.004953878000379,0.010766090825200,0.018064059317112,0.017651595175266,0.006283511407673,0.001999569591135,0.001163434470072,-0.006104915868491,-0.015334267169237,0.002595989499241,0.002135623944923,0.006349288392812,0.010860674083233) * MODEL7_texOff(vec2(0,1));
res += mat4(0.002569959498942,0.001590867410414,0.000188579841051,-0.000762598239817,0.000616316334344,-0.003806103719398,-0.004996752832085,-0.003742665983737,-0.000439812021796,-0.000961540848948,-0.001299503026530,-0.000640827056486,0.002663582097739,-0.001413579331711,-0.001299353665672,0.000314647215419) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.003924764227122,0.004278833512217,0.003740159096196,0.003614697838202,0.011946509592235,0.014031002297997,0.011102597229183,0.003897009417415,0.000947243359406,0.001964993309230,-0.000861548352987,-0.001406837487593,0.001457051374018,-0.003157220780849,-0.002463190117851,0.003951296675950) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.000021468145860,0.000522262998857,0.001577951479703,0.003180799540132,-0.003344239899889,-0.002967704785988,0.000771050690673,0.004501309711486,0.001391238882206,0.001172517659143,-0.001253276248462,-0.002176435198635,0.002513461979106,0.001491700764745,-0.002494424348697,-0.001549824490212) * MODEL7_texOff(vec2(1,1));
res += mat4(0.000175675872015,-0.004233151674271,-0.008610662072897,-0.005868186242878,-0.010223586112261,-0.006000271998346,-0.002192620187998,-0.002590109128505,0.005265262443572,0.003957726527005,0.003163498826325,0.005636248737574,-0.005956236738712,0.005049749743193,0.003226422006264,0.002793638035655) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.021632289513946,-0.004692616872489,0.019301347434521,0.012740499339998,-0.006069978233427,0.026956064626575,0.025778159499168,0.001036515110172,0.029743464663625,0.023804070428014,-0.018343010917306,-0.015097405761480,-0.005667494609952,0.041877459734678,0.007524844724685,-0.030185535550117) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.005390681792051,0.005579754710197,0.005071701016277,-0.006769633386284,0.002443921053782,0.004818390123546,-0.010297779925168,-0.022976586595178,-0.001558251795359,0.000757167348638,-0.007994264364243,-0.003833832219243,0.002093307208270,0.002166138729081,0.000461557385279,-0.022604329511523) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.016125280410051,0.013643186539412,-0.005386525299400,-0.010218275710940,0.009390458464622,0.000492031162139,-0.000487830460770,0.000067887842306,0.011731551960111,-0.013056103140116,-0.005044943187386,0.000383042672183,0.001410446362570,0.002562587615103,0.004651305265725,0.005758892279118) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.028015568852425,0.003858305746689,-0.038662113249302,-0.020050564780831,-0.046633724123240,-0.021651932969689,0.024661576375365,0.031031975522637,-0.005427799187601,-0.050608087331057,0.002560029504821,0.051053099334240,0.015067523345351,0.017340302467346,-0.013443322852254,-0.015267286449671) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.004678275901824,-0.003998046275228,-0.003265682142228,0.009565711021423,0.000319215614581,0.007792652118951,0.008512523956597,-0.018397139385343,0.002347102854401,-0.000358835473889,0.005053487606347,0.022065360099077,-0.001349952188320,-0.003160970518366,-0.003981471061707,-0.003418947802857) * MODEL8_texOff(vec2(0,1));
res += mat4(0.000271008379059,0.004647379275411,0.004028139170259,-0.000900579500012,-0.004510963335633,-0.003219496458769,-0.000102113408502,0.000599586463068,0.006673278752714,-0.001507068867795,-0.010731792077422,0.000154059685883,-0.002239778405055,-0.000131683351356,0.000980481039733,0.000759137794375) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.000070130146923,0.004178339149803,0.000531419704203,-0.003530813613907,-0.000122056604596,-0.005223757121712,-0.002110537374392,0.000082717109763,-0.000104295104393,0.001390212331899,0.000718897616025,0.000260302709648,-0.002561684930697,0.004106436856091,0.002765674376860,-0.003901848569512) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.001114088110626,-0.001273868489079,-0.002104065148160,-0.002606328576803,0.005435012280941,0.001614561770111,-0.001213406329043,0.000691508641466,-0.000820500776172,-0.001472443691455,-0.000812296930235,-0.000919737445656,-0.000683541118633,-0.000077020878962,0.002215744229034,-0.001230456167832) * MODEL8_texOff(vec2(1,1));
res += mat4(0.014008444733918,0.000362392427633,-0.001056842855178,0.001391885452904,-0.005245676729828,-0.001193007687107,0.000447397906100,0.000309522962198,0.005262788385153,0.004162052180618,0.004012575838715,0.002401832956821,0.001695762039162,0.000278748455457,0.000952797883656,0.001472689909860) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.005522524006665,-0.017473533749580,-0.001119835651480,0.020958082750440,0.012696980498731,0.009738831780851,0.002705651335418,-0.002822465961799,-0.027677021920681,-0.022330861538649,-0.008040654473007,0.005689317360520,0.005967752076685,0.007491333410144,0.004458081442863,0.001027496415190) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.000157646529260,-0.002862283727154,0.000103050340840,0.003752093762159,0.001087286276743,-0.002677555661649,-0.006636002101004,0.001471719471738,0.004610080737621,0.002854449208826,-0.008159543387592,-0.021993899717927,-0.000987249426544,-0.001397934742272,0.001133053796366,0.004302764777094) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.010696705430746,0.018178284168243,0.002905615838245,-0.001309789484367,0.004557214677334,-0.001831344561651,-0.001042533898726,-0.000216373751755,-0.003407394047827,-0.003539398545399,-0.003724498674273,-0.001939484034665,-0.014060644432902,-0.004393415991217,-0.003450534306467,-0.004224942065775) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.031421031802893,-0.009005942381918,-0.051348604261875,-0.033880054950714,-0.027655145153403,0.001013751840219,0.012306448072195,0.011959567666054,-0.031487725675106,-0.029252283275127,-0.018938384950161,-0.010276133194566,-0.029842900112271,-0.040695473551750,-0.041138429194689,-0.031781684607267) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.001592616550624,-0.004948745016009,0.003144468879327,0.022608878090978,0.011983373202384,0.016141518950462,-0.000446738151368,-0.033715669065714,0.002506032120436,0.000298570928862,-0.008390254341066,-0.020831914618611,0.000258540036157,-0.000475453067338,-0.005623066797853,-0.012899175286293) * MODEL9_texOff(vec2(0,1));
res += mat4(0.000204865267733,0.000967153930105,-0.004772706888616,-0.006787593942136,-0.004373767878860,-0.004385251551867,-0.000518700049724,0.000444945093477,0.002952483249828,0.001835103728808,0.000957757700235,0.001078894827515,0.006113447248936,0.009709804318845,0.007996391505003,0.003574902890250) * MODEL9_texOff(vec2(1,-1));
res += mat4(0.003517011413351,0.009983587078750,0.007866503670812,-0.000784834381193,0.005561107303947,0.003782841376960,0.006224605720490,0.003528932807967,0.001349026104435,0.001520625199191,0.002656748984009,0.004147965926677,0.001211804337800,-0.000949795183260,-0.002044046064839,0.001403257600032) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.000081198035332,0.001613879110664,0.001121689565480,0.002961883554235,-0.001223143539391,-0.001401617191732,0.000460494920844,0.005562585312873,0.002232896862552,0.002509650541469,0.002590390853584,0.001593128545210,0.000973593269009,0.000072431445005,0.000401691067964,0.001759744714946) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.002232502913103,0.004411573987454,0.008073980920017,0.005379753187299,0.018490457907319,0.005227373912930,0.000893350108527,0.002159315859899,-0.021403290331364,-0.001531001063995,0.002481931354851,0.000775137043092,0.001454404904507,-0.003512979717925,-0.003599235089496,-0.000426975137088) * MODEL10_texOff(vec2(-1,-1));
res += mat4(0.031238503754139,0.018397688865662,-0.002432537963614,-0.008390688337386,0.006807227153331,0.024897638708353,0.039836388081312,0.037521257996559,-0.016039809212089,-0.031229859218001,-0.046578351408243,-0.048507120460272,-0.015579696744680,-0.001141123939306,0.010215233080089,0.005035916808993) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.003231315407902,-0.000168562968611,0.010375024750829,0.020735824480653,0.007763264700770,0.006295545957983,0.003732515964657,0.003078389214352,-0.004631387535483,-0.006025945302099,-0.002899343380705,-0.003275385359302,0.002180763054639,0.003894279478118,0.011310416273773,-0.002220499329269) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.008776386268437,-0.000239854169195,0.006212987471372,0.006691718008369,0.002125657163560,-0.005568443331867,-0.006944774184376,-0.003104818286374,0.002455186098814,0.003676743246615,0.001897143898532,-0.002363008214161,0.000773479347117,-0.000598060316406,-0.002115557203069,0.000103803773527) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.028302950784564,0.024533156305552,0.004462295677513,-0.013428507372737,0.006895093712956,0.013107638806105,0.019328381866217,0.015065131708980,0.002946023363620,0.003484707558528,0.003423449117690,0.005036545451730,-0.011385011486709,0.030772138386965,0.003818744560704,-0.014452312141657) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.000096067815321,0.000184875476407,0.008022432215512,0.020357841625810,0.001972993137315,0.002196420449764,0.000224191608140,0.000205867137993,0.002232876140624,0.002184909069911,0.003465896472335,0.003429833333939,0.000499009562191,0.013850285671651,0.006141959689558,-0.030189255252481) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.000079788398580,-0.000132429820951,-0.000564706919249,-0.001380999688990,-0.000922267907299,0.001084532123059,0.001119856373407,0.000196946391952,-0.001168076298200,-0.000229806100833,0.001152700395323,0.000695874914527,-0.000089735927759,0.001266196602955,0.000629352463875,-0.000049342699640) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.003939147572964,-0.003122665686533,-0.001043176744133,-0.000118881362141,-0.004256075713784,-0.005644519347697,-0.004949004389346,-0.002608795417473,-0.000268841162324,-0.000706788094249,-0.002163707278669,-0.002778490772471,-0.003607184393331,-0.003533537965268,0.002194660017267,0.001352284802124) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.001819865079597,-0.002196281449869,-0.003444689558819,-0.005683350842446,0.001090965117328,0.000762002076954,-0.000904826796614,-0.003387149889022,0.000145089812577,-0.000290676049190,-0.000319802260492,-0.000630304391962,0.000111441731860,-0.001172292395495,0.001105326693505,0.001076247193851) * MODEL10_texOff(vec2(1,1));
res += mat4(-0.001905769226141,-0.002755312249064,-0.004527771379799,-0.003803733037785,0.008171016350389,0.006124575156718,0.003418948501348,0.001424128538929,0.000953593174927,0.000300733954646,0.000737502763513,0.001747710746713,0.008393236435950,0.006540666334331,0.006176542490721,0.004522961098701) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.002736644819379,0.001311006024480,0.001334587112069,-0.000666574982461,0.010584162548184,0.009676777757704,0.008938921615481,0.009028201922774,0.003223076229915,0.004624778404832,-0.010035659186542,-0.009363099932671,-0.007139437366277,-0.007247907575220,-0.002119840355590,0.007100954651833) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.000888650887646,-0.001507503795438,0.000016336480257,0.003302736673504,0.003903611330315,0.007623496931046,0.010106779634953,0.010568499565125,-0.002246597316116,-0.002129843691364,-0.000732960936148,-0.002983022248372,0.003117810934782,0.003633736865595,0.001019515562803,-0.003522865008563) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.015993963927031,0.005068345461041,0.000893270364031,0.000971757515799,-0.007858799770474,0.001670558238402,0.004312372300774,0.004064995795488,0.044423948973417,-0.010639319196343,-0.014150667004287,0.000159827832249,-0.012080862186849,-0.008536888286471,-0.003499536309391,0.001301986631006) * MODEL11_texOff(vec2(0,-1));
res += mat4(0.034290242940187,0.043063707649708,0.042694240808487,0.031660992652178,-0.028571316972375,-0.040761206299067,-0.037550207227468,-0.022601701319218,0.019223686307669,-0.014097174629569,-0.041893791407347,0.022418158128858,0.000677000498399,-0.004128093365580,-0.010120667517185,-0.014774492941797) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.000318406149745,0.000502733630128,0.005995708052069,0.017736181616783,0.008166561834514,0.011139194481075,0.005989313125610,-0.008740550838411,-0.000367127184290,0.001839462202042,0.003067635931075,0.006811934523284,-0.001803752151318,-0.001886111916974,0.000546115566976,0.002883515320718) * MODEL11_texOff(vec2(0,1));
res += mat4(0.000175688081072,-0.000554580648895,-0.000143113473314,0.000060804057284,0.003160713706166,0.001776150893420,0.001912783714943,0.002051220042631,0.002101674210280,0.003844017395750,-0.003074956359342,-0.002703503007069,0.007012675050646,0.005008458159864,0.002081407001242,0.001085299649276) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.003439259715378,-0.002443949226290,-0.002947208005935,-0.003466492751613,0.003739800537005,0.003744891611859,0.002866338472813,0.003530999412760,-0.000664068968035,0.005278090015054,-0.000084346625954,-0.006157978437841,0.003171918215230,0.004953385330737,0.007859386503696,0.008541724644601) * MODEL11_texOff(vec2(1,0));
res += mat4(-0.001879843999632,-0.002175526693463,-0.001797507633455,0.000218404442421,0.001775668235496,0.002639418933541,0.003232509130612,0.003136282088235,-0.001135356724262,-0.001103056012653,0.000313263095450,-0.002124225953594,0.000795305008069,0.001036828965880,0.001225421903655,0.003142256056890) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.000470033439342,-0.001448324299417,0.004020012449473,0.002547259675339,0.005828935652971,0.001807165448554,0.005383615847677,0.004593884106725,0.008386717177927,-0.010508175007999,-0.016063738614321,-0.010938292369246,0.002342058112845,0.002180506242439,-0.003950837999582,-0.006486394442618) * MODEL12_texOff(vec2(-1,-1));
res += mat4(0.006031950935721,-0.020407985895872,-0.007905209437013,0.007685042452067,0.040979389101267,-0.016955628991127,-0.033613137900829,-0.000682515208609,-0.017333131283522,-0.010537062771618,0.009129435755312,0.020939692854881,-0.013778240419924,-0.026346705853939,-0.018514949828386,-0.007910307496786) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.002200472401455,-0.003671744605526,-0.001771959243342,0.014403493143618,-0.011206586845219,-0.010884827934206,-0.010187081992626,0.023575484752655,0.000634053605609,0.001653627725318,-0.002653911476955,-0.009287371300161,-0.000313893251587,0.006613902281970,0.013772595673800,0.008278693072498) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.032507244497538,-0.000494161329698,0.006966698914766,0.005571201443672,0.007161838468164,0.003813215298578,-0.002126629929990,-0.003189054317772,-0.002702360274270,-0.003154375590384,-0.004037165082991,-0.001987309893593,0.018158091232181,0.006723165046424,0.001304614590481,-0.002101172227412) * MODEL12_texOff(vec2(0,-1));
res += mat4(-0.036025170236826,0.039428897202015,0.051294002681971,-0.025681925937533,0.000536746752914,-0.014580572955310,-0.011703920550644,0.004431307315826,0.005247332155704,-0.000579894112889,-0.005441178102046,-0.007499899249524,-0.030905913561583,-0.030211752280593,-0.007203680928797,0.020275281742215) * MODEL12_texOff(vec2(0,0));
res += mat4(0.001125437440351,0.002723877783865,0.004711295012385,-0.021552659571171,-0.005423564929515,-0.003968243952841,0.005299969576299,0.008565374650061,0.001608322374523,0.003003115998581,0.004474529065192,0.006215095520020,-0.003980146721005,-0.001841370947659,-0.003700255881995,-0.015009526163340) * MODEL12_texOff(vec2(0,1));
res += mat4(0.001364463474602,-0.003569182706997,0.003454747609794,0.004842038732022,-0.000473010935821,0.001521592726931,0.001557611860335,0.000374800059944,-0.000646430824418,-0.001698393491097,-0.001382605172694,-0.000787149765529,0.001898755203001,0.000491286802571,-0.002959265140817,-0.002780742477626) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.002868721261621,-0.000692665867973,-0.004707440733910,-0.000062062819779,0.004827167838812,0.001355411252007,-0.001457117265090,-0.001191994873807,0.003289031330496,0.005239287391305,0.005577004980296,0.002073016250506,0.004662070889026,0.004804578609765,0.005647201091051,0.002990333596244) * MODEL12_texOff(vec2(1,0));
res += mat4(0.002100199228153,0.002450433559716,0.001883763936348,-0.002309096045792,0.000673366244882,0.000344115862390,-0.002642757724971,0.001765211112797,-0.001669368939474,-0.001426175585948,0.000435451191152,0.002536908257753,-0.000566577829886,0.000154719018610,0.001124976202846,0.003032974200323) * MODEL12_texOff(vec2(1,1));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV2
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] sup-pixel convolution 2

vec4 hook()
{
vec4 res = vec4(-0.000711193715688,0.000024770582968,0.001837718067691,0.000883126806002);
res += mat4(-0.019508145749569,-0.007904666475952,-0.002273362362757,-0.002105025341734,-0.004348549526185,-0.001737317652442,0.000241788686253,-0.000712017819751,0.004047732800245,0.003018124494702,-0.000515528372489,-0.002234898274764,-0.000887574278750,0.000531964295078,-0.002344762207940,-0.003537134034559) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.026325937360525,-0.039313782006502,-0.043885856866837,-0.036417562514544,0.007221118081361,0.006751446053386,0.004888817202300,0.001658028922975,0.002974237315357,0.001746312715113,-0.003119254717603,-0.002466749167070,-0.003328640712425,-0.006146108731627,0.002601173007861,0.004899118095636) * MODEL7_texOff(vec2(-1,0));
res += mat4(-0.002850854070857,-0.001913135289215,-0.005839494522661,-0.014837135560811,-0.000694104353897,0.000638098164927,0.002542438218370,0.005038565024734,0.003373439423740,0.004206800833344,0.001229116693139,-0.002339640865102,0.001396586536430,0.000869059294928,0.001919953501783,0.002846301998943) * MODEL7_texOff(vec2(-1,1));
res += mat4(-0.006018579471856,-0.001880355644971,-0.000769598816987,-0.002504284493625,-0.003848542226478,0.003440278349444,0.007778051774949,0.005469788331538,0.026521755382419,0.015381818637252,0.000860519241542,-0.004353089723736,-0.018728591501713,-0.007545800413936,0.001262813573703,-0.003542884718627) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.022081550210714,-0.023158833384514,-0.019187996163964,-0.010867700912058,0.004234796855599,-0.005973520688713,-0.011642959900200,-0.004555483814329,-0.022793434560299,-0.015408499166369,-0.000511617225129,0.020362751558423,-0.027351433411241,-0.036846209317446,0.035389129072428,0.032511264085770) * MODEL7_texOff(vec2(0,0));
res += mat4(0.001665732590482,-0.000067685257818,-0.006029716692865,-0.014183746650815,0.013117051683366,0.020821319893003,0.019139979034662,0.006148316431791,0.003397005144507,0.002078164368868,-0.006599125918001,-0.018932282924652,0.003791982075199,0.001396263251081,0.003302724100649,0.015831787139177) * MODEL7_texOff(vec2(0,1));
res += mat4(0.003871368709952,0.001582145108841,-0.000234853767324,-0.000505279167555,0.005480081308633,-0.002300269901752,-0.005383601877838,-0.004678421188146,0.004474777262658,0.001659876550548,-0.000825113325845,-0.001312803942710,0.002340587088838,-0.001526709529571,-0.002022432163358,-0.001313823624514) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.006462462712079,0.006852521561086,0.006608787924051,0.006270171608776,0.016753552481532,0.020313622429967,0.017960507422686,0.011810411699116,-0.000065410516982,0.002434708643705,0.001697870437056,0.002972454763949,-0.001289190608077,-0.001656609354541,-0.000250470649917,0.004047658760101) * MODEL7_texOff(vec2(1,0));
res += mat4(0.000279949279502,0.000469109480036,0.002071614144370,0.004908255301416,-0.003137632040307,-0.001185317407362,0.003920720424503,0.008064549416304,0.001815824769437,0.000976152485237,-0.002878397470340,-0.004822142887861,0.003437404753640,0.003327788552269,-0.002008294221014,-0.004270295612514) * MODEL7_texOff(vec2(1,1));
res += mat4(0.001936441753060,-0.002244613831863,-0.005159305408597,-0.002271081320941,0.001575807458721,-0.000105606275611,0.002778175054118,0.003534076502547,0.000028575825127,0.000521634588949,0.004657351411879,0.004568726755679,-0.008630510419607,0.000988840358332,0.004648772068322,0.004339668434113) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.006217199377716,0.002379053970799,0.008634543046355,0.005909177940339,-0.019360406324267,-0.004231537692249,0.012930987402797,0.011563577689230,0.017840653657913,-0.003469094866887,-0.008792108856142,0.000966808816884,-0.007698586676270,0.023069212213159,0.011646767146885,-0.017320699989796) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.004683188628405,0.002462650882080,0.000882658059709,-0.003744627116248,0.000905241002329,0.003018388524652,0.001691258163191,-0.009284143336117,-0.002972828224301,-0.001633782405406,-0.006366693880409,0.008261524140835,0.002148492727429,0.002159212017432,0.000840715947561,-0.012514604255557) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.032975167036057,0.006482382304966,-0.011474780738354,-0.009690331295133,0.019332861527801,0.007941325195134,-0.000281050743069,0.000142706339830,-0.020548187196255,-0.011843443848193,0.003064708551392,0.003477712394670,0.007194511126727,0.004446108359843,0.003287125378847,0.006377311423421) * MODEL8_texOff(vec2(0,-1));
res += mat4(0.019350599497557,-0.027967179194093,-0.038852833211422,0.015989243984222,-0.017283881083131,-0.043313886970282,-0.020878037437797,0.013120732270181,-0.043102346360683,-0.029826307669282,0.050941631197929,0.030800046399236,0.017980230972171,0.034248381853104,-0.017696304246783,-0.022216323763132) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.005161290522665,-0.006803504657000,0.000641034625005,0.020514363422990,-0.004000130575150,-0.002082952763885,0.015690438449383,0.018223714083433,0.002726418897510,0.004414089024067,0.014924377202988,0.012254815548658,-0.000150493331603,-0.000939116929658,-0.004451849963516,-0.014923971146345) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.001091249985620,0.001971870893613,0.001769233611412,0.000478062924230,-0.002122175181285,-0.003593635745347,-0.003209376242012,-0.001180246123113,0.003993556834757,-0.002449329011142,-0.005156985484064,0.004584988579154,-0.002816138556227,0.000288500101306,0.001074035069905,0.001197505393066) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.001742594176903,0.003192138159648,-0.001307856407948,-0.003872936824337,0.004724682308733,-0.002892866032198,-0.005635129753500,-0.001430680043995,0.001070434111170,0.005950475111604,0.000670991488732,-0.003121118061244,-0.002263487782329,0.003199437167495,0.001480579725467,-0.005850976798683) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.001485766959377,-0.003126397961751,-0.004038242623210,-0.002204405842349,0.005604007281363,0.004669695626944,-0.000416898052208,0.001087468233891,-0.001053698826581,-0.000720388721675,0.000001026784616,-0.000956320087425,-0.002055506687611,-0.001942750066519,0.002096370561048,0.001099696033634) * MODEL8_texOff(vec2(1,1));
res += mat4(0.004338910337538,-0.000749817932956,-0.003375537693501,-0.000642308557872,-0.003360768314451,0.000397508032620,0.002697858959436,0.002365055261180,-0.008724245242774,-0.001346897915937,0.004177564755082,0.005599320866168,-0.002666494110599,-0.001431220443919,-0.000646327622235,-0.000681731558871) * MODEL9_texOff(vec2(-1,-1));
res += mat4(0.001359450398013,-0.004787568002939,-0.008695793338120,0.000220231886487,0.005044948309660,0.002621117513627,-0.000699027557857,-0.002307246671990,0.000773190811742,-0.005341344512999,-0.013398429378867,-0.014942009001970,-0.001735825906508,-0.003218197962269,-0.004799211397767,-0.004934859462082) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.002572820056230,0.000968364241999,-0.002370941685513,-0.000861622684170,-0.000357573619112,-0.000224492410780,-0.001000409014523,0.001193192787468,-0.000591809104662,0.000977893010713,0.002859516534954,0.001903526834212,-0.001622087322176,-0.001954089384526,-0.000900155922864,-0.001238655648194) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.026948807761073,0.004402957856655,0.012321293354034,0.004248295444995,0.000530181278009,-0.005313039757311,-0.002471207873896,-0.001398700173013,-0.019048929214478,-0.006335055455565,0.000145037760376,0.001147851347923,0.011741513386369,0.003151560900733,-0.003018870716915,-0.003834009636194) * MODEL9_texOff(vec2(0,-1));
res += mat4(0.033810436725616,0.042217664420605,-0.003299274714664,-0.043961264193058,-0.012732025235891,0.009837882593274,0.011449573561549,0.008151768706739,-0.002551737008616,-0.020129695534706,-0.031250175088644,-0.031596560031176,-0.003061179304495,0.004262413363904,0.014355716295540,0.016494136303663) * MODEL9_texOff(vec2(0,0));
res += mat4(0.001474218908697,-0.002751447726041,-0.010089225135744,-0.002839738037437,0.012094387784600,0.013618708588183,-0.006113054230809,-0.031111968681216,0.003709788667038,0.007694533094764,0.009416874498129,0.007739854510874,0.001341749099083,-0.000289137446089,-0.002706357976422,-0.000993674853817) * MODEL9_texOff(vec2(0,1));
res += mat4(-0.002722556469962,-0.001096016843803,-0.001761383027770,-0.004535403102636,-0.003851395333186,-0.003268600907177,-0.001591413398273,-0.000698728137650,0.002349625108764,0.002667524386197,0.002364835934713,0.000666130625177,0.007497216109186,0.004303080029786,0.001496554468758,-0.000541536428500) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.002421323210001,0.010081226006150,0.016705291345716,0.005889565218240,0.000381455436582,0.004247826989740,0.009146609343588,0.004646843299270,0.005427322816104,0.005350037012249,0.003829279914498,0.003384092357010,0.016727225854993,0.015186856500804,0.013184422627091,0.013585633598268) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.004135761875659,-0.002062384737656,-0.001456921920180,-0.001604807213880,-0.000593937817030,-0.000504891271703,0.001297138398513,0.002146516926587,0.001158017897978,0.001326690427959,0.002650463255122,0.003925310913473,-0.000492709921673,0.000959241704550,0.005594363901764,0.011209039948881) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.002814268227667,0.000349652545992,0.001380587695166,-0.000514046754688,-0.004988545551896,-0.001963716000319,0.000444672710728,0.001071194768883,0.030780168250203,0.019731871783733,0.007237279321998,0.001448833150789,0.003936970606446,-0.001243970356882,-0.002883523935452,-0.001192067284137) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.009693760424852,-0.020881615579128,-0.020837191492319,-0.011068875901401,0.012893430888653,0.014844269491732,0.010031562298536,0.002192800166085,0.009702445007861,0.014276929199696,0.024728074669838,0.032960534095764,-0.000649329274893,-0.001503824838437,0.002388935070485,0.004615874961019) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.000526122923475,0.002456827322021,0.002780537353829,-0.001607195474207,0.000147972168634,-0.001788401859812,-0.001244440674782,0.003206080524251,0.003611859166995,0.004553345963359,0.007960068993270,0.010408019647002,0.003091394901276,0.002990494947881,0.002482216805220,0.001012653461657) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.007249991875142,0.001594804925844,0.004706740844995,0.002195870736614,-0.005268940702081,-0.003055582288653,0.000770519778598,0.004227529745549,0.011219297535717,0.003785983659327,-0.001646138378419,-0.003442622255534,0.001520443940535,-0.001179560786113,-0.003713191952556,-0.000584782101214) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.027533253654838,-0.038218230009079,-0.039701070636511,-0.027226410806179,0.035140167921782,0.033527199178934,0.019415743649006,-0.000347640772816,0.001425269758329,0.005853831768036,0.012875497341156,0.018073147162795,-0.027924053370953,0.032706134021282,0.011118820868433,-0.013867628760636) * MODEL10_texOff(vec2(0,0));
res += mat4(-0.004429902415723,-0.003817863762379,-0.003974484745413,-0.011975107714534,0.000388045853470,0.001372919650748,0.009592470712960,0.022696392610669,-0.000044400752813,0.001617932226509,0.001984283560887,-0.000689747685101,-0.004466189071536,0.010532216168940,0.017132764682174,-0.031039906665683) * MODEL10_texOff(vec2(0,1));
res += mat4(0.001635928638279,0.000224804025493,-0.000184472170076,0.000753503292799,-0.002449641237035,0.000175061533810,0.001006428967230,0.000362254650099,-0.003613175125793,-0.001645492273383,0.000909947848413,0.000973916030489,-0.001313552493230,0.000048644138587,0.000409357511671,0.000326870795107) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.000900888582692,-0.000801742891781,-0.000183328302228,-0.000257484585745,-0.003818818833679,-0.006435949821025,-0.007189451716840,-0.005032181739807,-0.002010658150539,-0.003731522243470,-0.005263868719339,-0.005538066383451,-0.000675149261951,-0.002755715977401,0.002804298885167,0.001655755797401) * MODEL10_texOff(vec2(1,0));
res += mat4(-0.000949039822444,-0.000282295368379,-0.000433849752881,-0.002315448131412,0.001267459127121,0.000374449242372,-0.000717292889021,-0.001641253125854,-0.000265710288659,-0.000691189256031,-0.000955001683906,-0.001994160702452,0.003026412567124,0.000899689155631,-0.000752447871491,0.000313479074975) * MODEL10_texOff(vec2(1,1));
res += mat4(0.003695589024574,-0.000211264632526,-0.002552774269134,-0.002986234147102,0.005267050117254,0.003872213186696,0.002065934706479,0.001157400896773,-0.002157974522561,0.000297828024486,0.003282284596935,0.001865280210041,0.013111268170178,0.008824299089611,0.006026829592884,0.003544188803062) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.003650167491287,0.005490852519870,0.007629914674908,0.007640823256224,0.007603831123561,0.007067476864904,0.006759982090443,0.006361769046634,0.002448430284858,0.001786423032172,-0.002632527379319,-0.003593345172703,0.009387148544192,0.011038281954825,0.013496220111847,0.016731636598706) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.000470695114927,-0.000150973326527,0.000473246589536,0.002008027862757,0.002125119324774,0.005201375111938,0.007653356995434,0.008533533662558,-0.000828230287880,-0.001089122146368,0.000220006753807,0.000321303668898,0.001427745679393,0.003915336448699,0.005176497157663,0.006809413433075) * MODEL11_texOff(vec2(-1,1));
res += mat4(0.018239088356495,0.010169681161642,0.003852449590340,0.001370727899484,-0.004073502961546,0.004384117666632,0.006222588010132,0.005467122420669,0.046539776027203,-0.008478119969368,-0.014684930443764,0.000099800694443,-0.014348708093166,-0.008248485624790,-0.002775189466774,0.001241391059011) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.004784539341927,0.007799006532878,0.020896581932902,0.024659767746925,-0.023293601348996,-0.033411804586649,-0.030547741800547,-0.017435332760215,0.020959688350558,-0.003426814917475,-0.046204671263695,0.013260356150568,-0.021959835663438,-0.024992406368256,-0.026155872270465,-0.024225201457739) * MODEL11_texOff(vec2(0,0));
res += mat4(-0.000771038234234,-0.003072975669056,-0.007342550903559,-0.010884406045079,0.007169923745096,0.010741279460490,0.007602517027408,-0.005953585263342,-0.001356337103061,0.001589525258169,0.002709153806791,0.002592187142000,-0.002493456238881,-0.004936079960316,-0.008784214034677,-0.013806870207191) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.000447800091933,-0.000811017176602,-0.000474304513773,0.000464197830297,0.000584236520808,0.001567503320985,0.003227975452319,0.003265021601692,0.003009360516444,0.001369910314679,-0.003062200965360,-0.001429839641787,0.008298371918499,0.005986269097775,0.002624012995511,0.001378075452521) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.006701447535306,-0.003171216463670,-0.000421741657192,-0.002326823305339,-0.001066215801984,-0.002612344222143,-0.003029468469322,-0.000548535201233,-0.001831437810324,-0.000732460641302,-0.002937336917967,-0.003043881850317,0.006783854681998,0.009332636371255,0.011216073296964,0.009842912666500) * MODEL11_texOff(vec2(1,0));
res += mat4(0.000641321414150,-0.001134227844886,-0.002761369571090,-0.002384721534327,0.002312486292794,0.003275690134615,0.002929594134912,0.000473357562441,-0.001758322003298,-0.001486240886152,0.000968889042269,-0.001352483173832,0.000940093770623,0.001396763022058,0.002716231858358,0.006184692028910) * MODEL11_texOff(vec2(1,1));
res += mat4(-0.002336554462090,0.000875356490724,0.001163438311778,-0.001601081690751,0.001951912185177,0.002378048840910,0.004000650253147,0.002910741604865,0.000208970173844,-0.006867167074233,-0.007730482611805,-0.005174659658223,0.007183887995780,0.002993937116116,-0.000097436750366,-0.000335280026775) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.005188895389438,-0.007219987455755,0.000476626271848,-0.000600991421379,0.026172628626227,-0.004765536170453,-0.026088148355484,-0.010061514563859,-0.006743123289198,-0.003554461058229,0.002982759615406,0.004646201152354,-0.011098929680884,-0.001590401749127,0.005620397161692,0.007390875834972) * MODEL12_texOff(vec2(-1,0));
res += mat4(0.000664498540573,-0.003336935304105,0.000353453360731,0.005127007141709,-0.010632894001901,-0.008188203908503,-0.005007304716855,0.012135952711105,-0.000745289842598,0.000031552172004,-0.002051534131169,-0.004421937279403,0.004998957738280,0.003138242755085,0.001707282615826,-0.006119716912508) * MODEL12_texOff(vec2(-1,1));
res += mat4(-0.011829162947834,0.009407897479832,0.006618152838200,0.004615071229637,0.006672685034573,0.004178393166512,-0.000225261697778,-0.003075211308897,0.009072841145098,-0.003249301807955,-0.010164982639253,-0.006029388867319,0.002534532453865,-0.004839630797505,-0.004012030549347,-0.002340862294659) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.009537748061121,0.061936981976032,-0.003629437414929,-0.051257591694593,0.012094598263502,-0.023984313011169,-0.014697215519845,0.010135116055608,-0.003802672959864,-0.001171947689727,0.005253999959677,0.009704840369523,-0.029002882540226,-0.002359399804845,0.017030570656061,0.017640899866819) * MODEL12_texOff(vec2(0,0));
res += mat4(0.001019658870064,0.003047490259632,-0.007913997396827,-0.029677480459213,-0.006816674489528,-0.008924013935030,-0.000333934411174,0.020391937345266,0.000732368149329,0.001626681652851,0.001786265172996,-0.000687335268594,-0.004200192634016,-0.010244032368064,-0.022795474156737,-0.034376408904791) * MODEL12_texOff(vec2(0,1));
res += mat4(0.004669537767768,-0.005245996639132,0.002797883702442,-0.001781178754754,0.000253804522799,0.001486082794145,0.001998118124902,0.000830523320474,-0.001406032941304,-0.003427722724155,-0.002713962690905,-0.001854494330473,-0.001563457655720,-0.002435665344819,-0.003835091833025,-0.000550837721676) * MODEL12_texOff(vec2(1,-1));
res += mat4(0.001156299025752,-0.006790451239794,-0.009737220592797,0.010419582016766,0.006261521019042,0.001495738164522,-0.003887288272381,-0.001535536022857,0.004135671071708,0.005520260427147,0.006344373803586,0.003100757254288,0.006941613741219,0.007686498109251,0.007073410786688,-0.000170775572769) * MODEL12_texOff(vec2(1,0));
res += mat4(0.003051977604628,0.003253357019275,-0.000841348548420,-0.003245872212574,-0.000090784393251,0.001475972007029,-0.000877840851899,0.001764557207935,-0.001984492409974,-0.001450849347748,0.001002681674436,0.003947574645281,0.000817404943518,-0.000141411568620,0.000746528268792,0.004445828963071) * MODEL12_texOff(vec2(1,1));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV3
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] sup-pixel convolution 3

vec4 hook()
{
vec4 res = vec4(-0.001153251039796,-0.000170074563357,0.001196718076244,0.000047109384468);
res += mat4(0.003959949128330,0.000761383853387,-0.002548794960603,-0.002723842859268,0.001645905431360,0.000124676196720,-0.000650390109513,-0.001105520874262,0.002413573442027,0.001756955403835,-0.001141122425906,-0.002792580518872,-0.000145192738273,0.001376602798700,-0.000383506790968,-0.001926501630805) * MODEL7_texOff(vec2(-1,-1));
res += mat4(-0.015624010935426,-0.011653877794743,-0.003614087589085,0.000865734356921,0.008961762301624,0.011602110229433,0.010983400978148,0.007507399655879,0.005669667385519,0.003984286915511,-0.001131815020926,-0.002518330002204,-0.003619148163125,-0.001530037377961,0.001818486605771,0.000008493613677) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.002653391333297,0.000985865946859,-0.003471074393019,-0.009173537604511,-0.002580310683697,-0.002021956723183,0.002868497744203,0.007114008069038,0.000956791802309,0.002257768763229,0.001802797662094,0.001642498653382,0.000508973083925,0.000609686016105,0.002830144949257,-0.000075407253462) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.006161289755255,0.004847743548453,0.002228772267699,-0.000852656958159,-0.005244891159236,0.004298829939216,0.007913894951344,0.004519192036241,0.021769180893898,0.013387457467616,0.000341797654983,-0.004580743145198,-0.013858551159501,-0.009531689807773,-0.001119607710280,-0.002751361345872) * MODEL7_texOff(vec2(0,-1));
res += mat4(-0.013400529511273,-0.007837141864002,0.002381729194894,0.010053629055619,0.001268385211006,-0.007425782736391,-0.009032882750034,-0.004291859455407,-0.023066531866789,-0.016469910740852,-0.005651426035911,0.012599601410329,-0.020395196974277,-0.041134335100651,0.027493871748447,0.037170033901930) * MODEL7_texOff(vec2(0,0));
res += mat4(0.002307384740561,0.000160519877682,-0.006641878280789,-0.012669152580202,0.011929830536246,0.017985267564654,0.015430336818099,0.003502039005980,0.004383665509522,0.003601185278967,-0.005420800764114,-0.020141042768955,0.003505239496008,0.000360743812053,0.001103597111069,0.017713576555252) * MODEL7_texOff(vec2(0,1));
res += mat4(0.001155925332569,-0.000278896768577,-0.000742058618926,-0.000163981079822,0.007728904485703,0.001948365010321,-0.000716929789633,-0.002162381308153,0.013548339717090,0.007423922885209,0.001389623968862,-0.001610947423615,0.000011201439520,-0.001118696178310,-0.002207099925727,-0.002440091921017) * MODEL7_texOff(vec2(1,-1));
res += mat4(0.002116306219250,0.002618624595925,0.003597359405831,0.003672911087051,0.012550470419228,0.012333419173956,0.012375215999782,0.012772698886693,-0.002153453882784,0.004113345872611,0.008561719208956,0.012864864431322,-0.006940497551113,-0.003510368755087,0.006803515832871,0.006659949664026) * MODEL7_texOff(vec2(1,0));
res += mat4(0.001056594657712,0.000868967268616,0.000843128131237,0.001405890099704,-0.000189227052033,0.002600669395179,0.007027884013951,0.008138412609696,0.002221672097221,0.001076856744476,-0.003573910100386,-0.007317412644625,0.003563819685951,0.004306099377573,-0.000260838540271,-0.003727325005457) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.000872614211403,-0.001642996445298,-0.001662561786361,-0.000853546662256,0.002240615431219,0.000771596678533,0.003657568246126,0.006341767497361,-0.005142184905708,0.000440912146587,0.002255667233840,0.001303434604779,-0.006576767656952,-0.004034072626382,0.001321662799455,0.003900243667886) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.003802924416959,0.000031416529964,0.001386353047565,0.000577284547035,-0.007429168559611,-0.011211513541639,-0.002859907690436,0.004944369662553,0.003492119023576,-0.003229032270610,0.000607776921242,-0.002503813942894,-0.002737985458225,0.008788926526904,0.008539118804038,-0.004813474137336) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.002446131780744,0.004571907222271,0.003661644412205,-0.001628450234421,0.003904169658199,0.000952308706474,-0.000577859464101,0.000269542651949,-0.000237269880017,-0.002699820091948,-0.005866826046258,0.005039784125984,0.002061277162284,0.001826058723964,-0.001161330961622,-0.004706595558673) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.024993544444442,-0.002980311634019,-0.009592254646122,-0.006973114795983,-0.001404154347256,0.005149658303708,-0.000342244020430,-0.001952362013981,-0.031368218362331,0.002500372473150,0.005851309746504,0.002195270033553,0.005507925059646,0.007411950267851,0.004647825378925,0.006664166692644) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.015893585979939,-0.043323792517185,-0.000233823244344,0.046562317758799,0.038733366876841,0.000968374486547,-0.035254314541817,-0.029652660712600,-0.046274323016405,0.029370784759521,0.047955587506294,-0.028494810685515,0.012497738935053,0.050548903644085,-0.015835165977478,-0.035319671034813) * MODEL8_texOff(vec2(0,0));
res += mat4(-0.004763028584421,-0.003015889320523,0.012179690413177,0.017857261002064,-0.000728341459762,-0.010822958312929,-0.003057215129957,0.029460880905390,0.002469442784786,0.006520616821945,0.008653607219458,-0.022641645744443,-0.000251627614489,0.000513908045832,-0.001128593110479,-0.025720112025738) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.004726954735816,0.001252202200703,0.002585740294307,0.001958400942385,-0.001958003034815,0.000139438328915,-0.001355881337076,-0.002247066469863,0.006723981816322,-0.000384813931305,-0.004275557585061,-0.001136328908615,-0.003731593955308,0.000049153608416,0.002046568784863,0.001938353991136) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.005930431652814,0.004724302794784,-0.002617193618789,-0.007572190836072,0.007923806086183,0.013690787367523,0.004184644669294,-0.003537135431543,0.006153987254947,0.001526750973426,-0.014337710104883,-0.007481811102480,-0.001573785324581,0.001447116374038,0.002420063596219,-0.004244403447956) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.003378530032933,-0.004074271302670,-0.001580426353030,0.002236064290628,0.004551474936306,0.002210004255176,-0.005003613885492,-0.004431316163391,0.002049286616966,0.001716720405966,-0.000980591052212,0.000441414013039,-0.001968407304958,-0.003811942646280,-0.000158233509865,0.002493971260265) * MODEL8_texOff(vec2(1,1));
res += mat4(0.001633283565752,0.001931770355441,-0.002495254622772,-0.003137880703434,-0.000733966531698,0.001508206012659,0.003233016934246,0.002558437641710,-0.006815586704761,-0.005221576895565,-0.002582400338724,0.000399654381908,-0.004432682413608,-0.001882387790829,-0.000928492750973,-0.001131526427343) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.000956975854933,-0.000326073932229,-0.004885339643806,-0.005080274771899,-0.000321726489346,0.000498711771797,0.000771603023168,0.000727836973965,0.005800690501928,0.005287285428494,-0.001398070249707,-0.007935732603073,-0.006207918282598,-0.008740575984120,-0.008219510316849,-0.006135089788586) * MODEL9_texOff(vec2(-1,0));
res += mat4(0.000330455630319,0.002541027264670,0.002394335810095,0.001355908694677,0.000904045591597,0.000930130132474,0.001024778583087,-0.000345274456777,-0.000799694855232,-0.000694448826835,0.001353533356450,0.003825729480013,-0.001178606878966,-0.000713188201189,-0.001697235275060,-0.005163358990103) * MODEL9_texOff(vec2(-1,1));
res += mat4(-0.023725280538201,-0.016711860895157,0.002612084150314,0.004672992043197,-0.003789542708546,-0.006696287542582,-0.002189399208874,-0.001265017781407,-0.001643402152695,-0.002642297185957,-0.001506516477093,0.000785803946201,0.012267819605768,0.006025543902069,0.003392820479348,0.001474986318499) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.017944475635886,0.026618188247085,0.045677877962589,0.008025675080717,0.006639389786869,0.016556540504098,0.011076794937253,0.003615358844399,0.044550962746143,0.039692603051662,0.022953459993005,0.006833653897047,0.017921637743711,0.022771099582314,0.021786108613014,0.018399287015200) * MODEL9_texOff(vec2(0,0));
res += mat4(0.003215851029381,0.005163632798940,-0.003772466676310,-0.022822858765721,0.009211285039783,0.005931979045272,-0.015332093462348,-0.021435184404254,0.000088601758762,0.003021063050255,0.014360966160893,0.031797524541616,-0.003467090893537,-0.003957239910960,0.000497510773130,0.008977058343589) * MODEL9_texOff(vec2(0,1));
res += mat4(0.006451673340052,-0.005246409680694,-0.002322886837646,0.000488252408104,0.000718953204341,-0.000577157188673,-0.001717159175314,-0.000961115176324,0.000422812823672,0.000103525948361,-0.000276763312286,-0.000789856771007,0.001637068111449,-0.003052907763049,-0.003000480355695,-0.001960053341463) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.021097632125020,-0.012020081281662,0.013418495655060,0.023556610569358,-0.009460929781199,0.000532970763743,0.008505630306900,0.007076020818204,0.010040207765996,0.007451307494193,0.002459257608280,0.000343750609318,0.018165886402130,0.021751383319497,0.019992351531982,0.013557326048613) * MODEL9_texOff(vec2(1,0));
res += mat4(-0.002257543383166,-0.000670722569339,-0.000390958477510,-0.007146216463298,-0.000100729121186,0.002721200929955,0.002334827324376,-0.006834876257926,-0.005425431765616,-0.004200736992061,0.000025691282644,0.004949811380357,-0.001112373662181,0.000034344240703,0.004181565716863,0.009133054874837) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.000922051200178,-0.000928163412027,-0.000365719140973,-0.000292190816253,-0.006323176436126,-0.002565653296188,-0.002635597717017,-0.002200114307925,0.009637475945055,-0.000743681914173,-0.003602962009609,-0.002970803529024,0.003417909843847,-0.000034977485484,-0.002482044743374,-0.001084946561605) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.010171294212341,-0.008482294157147,-0.003024927806109,-0.000015916986740,0.001076459768228,-0.004378613550216,-0.008557602763176,-0.009311483241618,0.003423117101192,0.012366399168968,0.025136809796095,0.026667941361666,0.003070874838158,0.000826612231322,-0.002518635010347,0.000570869538933) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.000820996472612,-0.002434225287288,-0.005127882119268,-0.008918331936002,-0.000566314149182,0.000918889709283,0.001417129649781,0.000465215533040,0.002479520393535,0.002741794101894,0.001620015013032,0.000285976740997,-0.000398935953854,0.002265152987093,-0.001776985824108,-0.002532308455557) * MODEL10_texOff(vec2(-1,1));
res += mat4(-0.002055272692814,-0.006731084547937,-0.006655676290393,-0.003978998400271,-0.010871462523937,-0.001243782346137,-0.000570063653868,-0.001651839818805,0.009231345728040,0.003387528704479,0.003296522423625,0.004771287553012,0.000715497764759,-0.000562739325687,-0.003408992895856,-0.001252591144294) * MODEL10_texOff(vec2(0,-1));
res += mat4(-0.041756875813007,-0.026286404579878,-0.003088972764090,0.003883372293785,-0.012958286330104,-0.029067765921354,-0.037698734551668,-0.031263265758753,0.011112978681922,0.022232839837670,0.028240356594324,0.019589634612203,-0.041011180728674,0.024478539824486,0.021033449098468,-0.008782222867012) * MODEL10_texOff(vec2(0,0));
res += mat4(0.001480902894400,-0.004410863853991,-0.016879165545106,-0.032213296741247,-0.004815201275051,-0.002134284470230,0.002017305698246,-0.000083295199147,-0.000975442002527,-0.001600444200449,-0.000683120044414,0.001436168910004,-0.003772344440222,0.009328117594123,0.025095919147134,-0.024708895012736) * MODEL10_texOff(vec2(0,1));
res += mat4(0.003437143983319,-0.000580310297664,-0.000104037419078,0.000487112294650,0.001505465712398,0.001565802260302,0.000147218408529,-0.001422312692739,-0.003241219324991,-0.000577716040425,0.002367686247453,0.001371166668832,-0.001427682349458,-0.001058708759956,-0.000619682075921,-0.000174407017766) * MODEL10_texOff(vec2(1,-1));
res += mat4(-0.002035413635895,-0.000309345661663,0.003853708971292,0.005851820576936,-0.003963942173868,-0.005356002133340,-0.003712825942785,0.000074313145888,-0.004047243855894,-0.006255137734115,-0.006101960316300,-0.005261549260467,0.003262506565079,0.004095626529306,0.000853716162965,-0.001040706993081) * MODEL10_texOff(vec2(1,0));
res += mat4(0.003288261359558,0.004885936621577,0.002186498604715,-0.002708557061851,-0.000389927532524,-0.000414476555306,0.000766548502725,0.000324126187479,-0.000016025336663,0.000459627219243,-0.000107170497358,-0.002348508220166,0.004466065205634,0.003482161322609,-0.002231580205262,-0.004249895922840) * MODEL10_texOff(vec2(1,1));
res += mat4(0.006696371827275,0.003632703097537,0.001715060556307,0.000463592557935,0.001562416902743,0.001100628171116,0.000429334642831,0.000467527832370,0.000623327912763,-0.001108463038690,0.002366265980527,0.002700724173337,0.010670385323465,0.006953138858080,0.003751541953534,0.002113458700478) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.002513001440093,0.005071201827377,0.007619265001267,0.009013838134706,0.002034428529441,0.001760265440680,0.001439892570488,0.001313065295108,0.001025523175485,-0.000143379395013,0.001230951165780,0.002293019322678,0.014289515092969,0.015911167487502,0.017019648104906,0.016902223229408) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.000688952102792,-0.000263973255642,0.000229395242059,0.000294315774227,0.000384356128052,0.001996062695980,0.003162431763485,0.003594358917326,0.000109440967208,0.000022142245143,0.001034227432683,0.001488088862970,0.001123324967921,0.003104761242867,0.004875599872321,0.009050123393536) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.011046621017158,-0.003871149383485,-0.000736429181416,-0.000062668084865,0.001497137127444,0.005745802074671,0.006383182015270,0.004998116753995,0.033325098454952,-0.002158660674468,-0.011864205822349,-0.000778648303822,-0.010657232254744,-0.003510682610795,0.001471361611038,0.003163701156154) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.027344185858965,-0.034539952874184,-0.033762890845537,-0.022868620231748,-0.011745859868824,-0.016767509281635,-0.015280771069229,-0.006938959471881,0.017640961334109,0.006985415238887,-0.037948179990053,-0.002228051656857,-0.032717376947403,-0.036157209426165,-0.034082017838955,-0.024373717606068) * MODEL11_texOff(vec2(0,0));
res += mat4(0.001670110272244,0.001366160227917,-0.002792017068714,-0.014385571703315,0.004799275193363,0.009122944436967,0.007788977120072,-0.001744251116179,-0.002029953058809,-0.001074070576578,-0.000111457811727,-0.001570161664858,0.000389523775084,-0.003002043580636,-0.011408227495849,-0.020998729392886) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.007607154082507,-0.001707145129330,-0.000507764110807,-0.000020902014512,-0.005425450857729,-0.000411471730331,0.002616217127070,0.003068988909945,0.009586604312062,-0.002560660708696,-0.005176325328648,-0.002020226093009,0.003507248591632,0.001977772917598,0.000754880602472,0.001532958936878) * MODEL11_texOff(vec2(1,-1));
res += mat4(-0.008588012307882,-0.012870131991804,-0.014554636552930,-0.014704572036862,-0.013865785673261,-0.018066350370646,-0.017419520765543,-0.011736694723368,0.001750762225129,-0.007977447472513,-0.012341734021902,0.002962009282783,0.011027992703021,0.011425131000578,0.008337060920894,0.004616930615157) * MODEL11_texOff(vec2(1,0));
res += mat4(0.001564812031575,-0.000254173326539,-0.003484959714115,-0.004637090954930,0.002790610771626,0.003908649552613,0.000431762251537,-0.007071917876601,-0.000328499416355,0.001137680024840,0.002998088952154,0.001610741019249,0.001954372273758,0.003310296917334,0.005882064346224,0.010068682953715) * MODEL11_texOff(vec2(1,1));
res += mat4(0.001009689993225,-0.000101417892438,-0.003176896134391,-0.003193111857399,-0.001639330876060,0.004708266351372,0.004804629832506,0.001839480479248,-0.002295369515195,-0.002892094897106,-0.000717203831300,0.001384633011185,0.002745199017227,0.002279094653204,0.002248520962894,0.001180007704534) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.001635964959860,0.000319669547025,0.000709092651960,-0.001463605556637,0.012008160352707,0.002160408999771,-0.013540411368012,-0.013635000213981,-0.000019660175894,0.001969639211893,0.002484448952600,-0.000766727258451,-0.002351904986426,0.002291277050972,0.003359824884683,0.003689845791087) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.000416656810557,-0.007586114108562,0.001837665098719,0.005800021346658,-0.008951470255852,-0.009179195389152,-0.002020282903686,0.007390910759568,-0.001422662287951,-0.000628680398222,-0.000284872017801,-0.000576967664529,-0.005921598523855,-0.010407112538815,-0.009053168818355,-0.006796412635595) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.012603721581399,0.006415807176381,0.002104708692059,0.003587295068428,0.009629757143557,0.005294649861753,0.001026021782309,-0.003384262556210,0.018616311252117,-0.004607769660652,-0.016494505107403,-0.011064914055169,-0.007112384773791,-0.001026341109537,0.004304490983486,0.004506911151111) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.048821769654751,0.022069351747632,-0.045240331441164,-0.020810317248106,0.030305907130241,-0.032998781651258,-0.028516994789243,0.011915058828890,-0.012820689938962,-0.003041027113795,0.014680302701890,0.026857199147344,0.046030573546886,0.044532008469105,0.017968960106373,-0.002746064448729) * MODEL12_texOff(vec2(0,0));
res += mat4(0.000448415434221,-0.002006942173466,-0.018209589645267,-0.004095715470612,-0.007134847808629,-0.009640721604228,-0.007795651443303,0.030024228617549,0.000202923707548,0.000942853570450,-0.001127760624513,-0.007800327148288,0.000574980105739,-0.002073080278933,0.000483976327814,0.019848797470331) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.002002089517191,-0.010219465009868,-0.000563157314900,-0.003237385768443,0.000837454805151,-0.000029161372368,0.000319554499583,0.000479544105474,-0.005272690672427,-0.004655099008232,-0.003253356553614,-0.002196892164648,-0.009601562283933,-0.005633796565235,-0.003800580510870,-0.000793357554357) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.002623972482979,-0.015697935596108,0.009265294298530,0.027036961168051,0.003628271399066,0.003597727511078,-0.003246248001233,-0.001547400024720,0.002195814624429,-0.000999821466394,-0.002580271568149,-0.003771907184273,0.005371969658881,0.000924787600525,-0.009658711031079,-0.015286684036255) * MODEL12_texOff(vec2(1,0));
res += mat4(0.003713231766596,0.002967177424580,0.000317636644468,0.003980490844697,-0.001621924689971,0.001480114646256,0.000988557469100,-0.001163667766377,-0.001326291472651,-0.000843101239298,0.001390616293065,0.004300931934267,-0.000309964001644,-0.001117570325732,0.000977105577476,0.004770971368998) * MODEL12_texOff(vec2(1,1));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!COMPONENTS 4
//!BIND MODEL7
//!BIND MODEL8
//!BIND MODEL9
//!BIND MODEL10
//!BIND MODEL11
//!BIND MODEL12
//!SAVE SUBCONV4
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] sup-pixel convolution 4

vec4 hook()
{
vec4 res = vec4(-0.000724467332475,-0.000028554348319,0.000797625398263,-0.000006042637324);
res += mat4(0.008336807601154,-0.000180821123649,-0.003031966509297,-0.002412324538454,0.002785688033327,-0.000312737305649,-0.001721919164993,-0.001354329637252,0.001418311032467,0.001247867359780,-0.000486804929096,-0.001602169126272,-0.000924469844904,0.001374483224936,0.000892964191735,-0.001540400902741) * MODEL7_texOff(vec2(-1,-1));
res += mat4(0.001358791603707,0.008565116673708,0.014308388344944,0.015248583629727,0.006338456179947,0.007317286916077,0.007556442636997,0.006735218223184,0.004850091878325,0.004014791920781,-0.000043884952902,-0.001604420598596,-0.003227494657040,0.001001649536192,0.002682104008272,-0.000967859989032) * MODEL7_texOff(vec2(-1,0));
res += mat4(0.000490430393256,0.000425290636485,0.000108638756501,-0.000457013287814,-0.002949754009023,-0.002590835560113,0.002490042941645,0.006448018364608,0.000428878032835,0.000918504374567,0.000935296469834,0.001514143077657,0.000333536940161,0.001361274044029,0.000937498873100,-0.003424761351198) * MODEL7_texOff(vec2(-1,1));
res += mat4(0.012548592872918,0.005238806363195,0.003873910289258,0.006194277666509,-0.002891534939408,0.004682001192123,0.007216126658022,0.004732365254313,0.014705773442984,0.010304398834705,0.000189729675185,-0.004311791155487,-0.007828295230865,-0.008170481771231,-0.003277714597061,-0.003415617160499) * MODEL7_texOff(vec2(0,-1));
res += mat4(0.044686254113913,0.056038942188025,0.052134390920401,0.032716862857342,0.000766289245803,-0.001592697808519,-0.000398577481974,0.001762784318998,-0.016093522310257,-0.012820469215512,-0.010141823440790,0.002480538561940,-0.013444162905216,-0.033431258052588,0.015988428145647,0.029178693890572) * MODEL7_texOff(vec2(0,0));
res += mat4(0.003055502427742,0.004015494603664,0.009427198208869,0.022226618602872,0.009162913076580,0.013693091459572,0.011497162282467,0.001910663559102,0.005305379163474,0.004808184690773,-0.004223846830428,-0.017233440652490,0.003148536430672,0.001343201030977,0.002565912669525,0.015648063272238) * MODEL7_texOff(vec2(0,1));
res += mat4(-0.004030705895275,-0.001627581659704,-0.000133340392495,-0.000241096335230,0.005322725046426,0.005649196915329,0.006197573617101,0.003831785172224,0.023897191509604,0.013055864721537,0.002332884352654,-0.002352253301069,-0.004021946340799,-0.001817677170038,-0.001123081659898,-0.002132995519787) * MODEL7_texOff(vec2(1,-1));
res += mat4(-0.006977118551731,-0.007178253494203,-0.005728484597057,-0.004766928032041,0.000946513493545,-0.002262951573357,-0.001269490690902,0.004565401002765,-0.008486620150506,0.001476891338825,0.013136762194335,0.023632632568479,-0.014640131033957,-0.012280360795557,0.018444318324327,0.015757059678435) * MODEL7_texOff(vec2(1,0));
res += mat4(-0.000253834936302,-0.001479814061895,-0.003928440622985,-0.005271134898067,0.004344696644694,0.008199720643461,0.009562358260155,0.003493713913485,0.002025746041909,0.001736710546538,-0.004042675253004,-0.010852711275220,0.002849976764992,0.002338096499443,0.001690463279374,0.002241768641397) * MODEL7_texOff(vec2(1,1));
res += mat4(-0.001693758065812,0.000082351951278,-0.000271024851827,-0.000318372680340,-0.001002476201393,-0.001382451970130,-0.000054100051784,0.003314706496894,-0.001238938071765,0.001340190996416,0.000581672647968,0.001026624348015,-0.000388261018088,-0.004068915266544,-0.001113083562814,0.002533916151151) * MODEL8_texOff(vec2(-1,-1));
res += mat4(-0.004288333002478,-0.000109838380013,-0.000893924734555,-0.003467072965577,-0.000479391746921,-0.007094135507941,-0.006384287029505,-0.000710025196895,0.000787628290709,-0.000488934805617,-0.003147318493575,-0.005102228373289,0.002861991291866,0.002011716598645,0.002710969652981,0.003196486504748) * MODEL8_texOff(vec2(-1,0));
res += mat4(0.001995564205572,0.005483597051352,0.003515738295391,-0.002805574331433,0.004814165644348,0.002532974118367,-0.002184467390180,-0.000426025391789,0.002650817390531,-0.003682292299345,-0.006522179115564,0.000842934241518,0.002407962689176,0.001288043451495,-0.003092224476859,-0.000810650177300) * MODEL8_texOff(vec2(-1,1));
res += mat4(0.006100279744714,-0.006965162698179,-0.009877029806376,-0.009170149452984,-0.019923914223909,-0.006110945716500,-0.003925255499780,-0.005252046510577,-0.010516662150621,0.007735496386886,0.002055963966995,0.001842827536166,-0.002307368442416,0.008151780813932,0.004924037959427,0.004912955686450) * MODEL8_texOff(vec2(0,-1));
res += mat4(-0.039659224450588,-0.028231492266059,0.025592276826501,0.034789968281984,0.039144236594439,0.047233872115612,0.006110169924796,-0.028267726302147,0.002462000120431,0.056577920913696,0.002765333978459,-0.046424873173237,0.003010617103428,0.056583616882563,-0.005337823648006,-0.042674023658037) * MODEL8_texOff(vec2(0,0));
res += mat4(0.000344937026966,0.006288788281381,0.014597188681364,-0.001583472942002,0.003880754811689,-0.002744295634329,-0.019595565274358,-0.004745522048324,0.003454482415691,0.005433611571789,-0.005577820353210,-0.028879849240184,0.000242800262640,0.001211456488818,0.000162920303410,-0.029932513833046) * MODEL8_texOff(vec2(0,1));
res += mat4(-0.002336074830964,0.006980849429965,0.001685519935563,-0.002255448838696,-0.002536048181355,0.000034949924157,0.000808422337286,-0.001511639100499,0.017906881868839,-0.004252837970853,-0.006354786455631,-0.003755426732823,-0.003827928798273,0.000072259346780,0.003655969165266,0.003773953532800) * MODEL8_texOff(vec2(1,-1));
res += mat4(0.015097482129931,0.011313389986753,-0.012054448015988,-0.017855752259493,-0.015259863808751,0.016437245532870,0.027606155723333,0.009732516482472,0.012429801747203,-0.019565945491195,-0.024585768580437,0.015371607616544,0.002207919023931,0.003945764154196,-0.000963484519161,-0.006611234508455) * MODEL8_texOff(vec2(1,0));
res += mat4(-0.004754830151796,-0.003037558402866,0.000163386837812,0.005545143038034,0.003211905714124,0.002271475270391,-0.007580594625324,-0.021660046651959,0.003182357875630,0.000047310302762,-0.002256674459204,0.008235649205744,-0.001575169269927,-0.003743046894670,-0.000868342234753,0.001894974499010) * MODEL8_texOff(vec2(1,1));
res += mat4(-0.002774406224489,0.001931952196173,0.000211709542782,-0.002842955989763,0.000567002512980,0.001129128388129,0.001937837805599,0.001704110181890,-0.002496338449419,-0.004277367144823,-0.004823035560548,-0.003182263579220,-0.002145541366190,-0.000916367454920,-0.000341404462233,-0.000441687792772) * MODEL9_texOff(vec2(-1,-1));
res += mat4(-0.000612154894043,0.000356765493052,-0.002679491415620,-0.006540036760271,-0.001455389196053,-0.000095626979601,0.001201246632263,0.001826622872613,0.000864954781719,0.002570525277406,0.001986430957913,-0.000801901274826,-0.005257258657366,-0.005928786005825,-0.004382800776511,-0.002598817693070) * MODEL9_texOff(vec2(-1,0));
res += mat4(-0.001402871101163,-0.000012038978639,0.003954531159252,0.003979707136750,0.000823718903121,0.000077469587268,0.001163361477666,-0.000410505657783,0.001692119520158,0.001065565622412,0.000880733656231,0.000992701970972,0.000315474142553,0.000836898165289,-0.001055202912539,-0.004378633107990) * MODEL9_texOff(vec2(-1,1));
res += mat4(0.009200873784721,-0.010467639192939,-0.004249946679920,0.001261975732632,-0.005743255373091,-0.004634347278625,-0.001252900576219,-0.001421906286851,0.019333725795150,0.005254313815385,-0.001049455022439,-0.001137423096225,0.003300446784124,0.003292816691101,0.003899673931301,0.002873875200748) * MODEL9_texOff(vec2(0,-1));
res += mat4(-0.030048048123717,-0.016572440043092,0.031857661902905,0.042241431772709,0.017307305708528,0.018877647817135,0.010376711376011,0.000783329480328,-0.002131651388481,0.016002863645554,0.032181750983000,0.034682665020227,0.015908299013972,0.013659535907209,0.005973558407277,0.002376521471888) * MODEL9_texOff(vec2(0,0));
res += mat4(-0.001155715202913,0.001317108515650,0.006243092473596,-0.004186166916043,0.005551947746426,-0.002181124407798,-0.017462784424424,-0.008648330345750,0.001065531396307,-0.003515027463436,-0.009368789382279,-0.009733215905726,-0.003506015287712,-0.002668443135917,0.003192428965122,0.010533894412220) * MODEL9_texOff(vec2(0,1));
res += mat4(0.023808535188437,0.005399657413363,-0.004980897065252,-0.000696618168149,0.004202859010547,-0.000115959635878,-0.000311615120154,0.000723131175619,0.004226071294397,-0.001722980872728,-0.004243132192641,-0.002067199209705,-0.013823506422341,-0.002701390301809,0.001958724344149,0.000719857111108) * MODEL9_texOff(vec2(1,-1));
res += mat4(-0.013271099887788,-0.036239508539438,-0.025468081235886,0.013529833406210,-0.022058481350541,-0.003369869897142,0.009576394222677,0.010736610740423,-0.002089994726703,0.002429268788546,0.005878129974008,0.006498624570668,-0.011204785667360,-0.019120618700981,-0.026928260922432,-0.025630379095674) * MODEL9_texOff(vec2(1,0));
res += mat4(0.000177296169568,0.001117321080528,0.006510231643915,0.007009254768491,0.003798784222454,0.009777393192053,0.002286740113050,-0.020528964698315,-0.003383400384337,-0.004230630118400,-0.004153652116656,-0.004335280973464,-0.002590768504888,-0.002702305093408,-0.003832379356027,-0.007494436576962) * MODEL9_texOff(vec2(1,1));
res += mat4(-0.003785963635892,-0.001812554430217,-0.001262462232262,-0.001617823611014,0.001860182732344,-0.001740725710988,-0.002955334726721,-0.001247825915925,-0.010090432129800,-0.006847840733826,-0.003129889722914,-0.001672480255365,0.002685963176191,0.000050223050494,-0.002156271599233,-0.000824534741696) * MODEL10_texOff(vec2(-1,-1));
res += mat4(-0.002785942517221,-0.002389573492110,-0.002666745800525,-0.003443324472755,-0.005276968237013,-0.004487108904868,-0.000925775966607,0.001501095015556,-0.005789718590677,-0.005443083122373,-0.007848793640733,-0.008541774004698,0.001591192325577,0.002439384115860,-0.003358444664627,-0.001410768833011) * MODEL10_texOff(vec2(-1,0));
res += mat4(-0.001669992809184,-0.002962232334539,-0.003634518012404,-0.003939182497561,0.000968210981227,0.003490086179227,0.003593892091885,-0.000709603773430,0.000615513126832,-0.000628322362900,-0.004197232425213,-0.008947019465268,-0.002010182943195,0.000134039597469,-0.002824648981914,-0.005052783526480) * MODEL10_texOff(vec2(-1,1));
res += mat4(0.006253038998693,0.001103244605474,0.003655282780528,0.006530464626849,0.006126335356385,0.000600253464654,-0.005618073046207,-0.006476823706180,-0.031646464020014,-0.011525148525834,0.002538601402193,0.007269992493093,-0.000282208406134,-0.002066048095003,-0.002953086281195,-0.000813947874121) * MODEL10_texOff(vec2(0,-1));
res += mat4(0.037121664732695,0.055464752018452,0.048759061843157,0.025283059105277,-0.041384100914001,-0.042005777359009,-0.022850867360830,-0.001680589513853,-0.004920367151499,-0.010266507975757,-0.026591757312417,-0.045743312686682,-0.037456564605236,0.009314234368503,0.022270794957876,-0.000587497372180) * MODEL10_texOff(vec2(0,0));
res += mat4(0.003712557954714,-0.000804808165412,0.001611617859453,0.012834584340453,0.002300094114617,0.003562328638509,-0.002544399118051,-0.018283013254404,-0.005069356877357,-0.007291070651263,-0.004442065488547,-0.001246860250831,-0.000162130949320,0.010661024600267,0.024159178137779,-0.014128438197076) * MODEL10_texOff(vec2(0,1));
res += mat4(-0.003171787597239,-0.004504363052547,-0.001297424896620,-0.000325263943523,0.007041789125651,0.002169891726226,-0.002513245213777,-0.003615310415626,-0.000157099741045,0.002894885605201,0.003547911997885,0.000030144658012,-0.000266672344878,-0.000027599910027,-0.000392598914914,0.000007697917681) * MODEL10_texOff(vec2(1,-1));
res += mat4(0.008895982988179,0.015089380554855,0.015665967017412,0.005873451940715,-0.007976404391229,-0.005297113209963,0.003545084735379,0.010393604636192,0.000557648600079,0.000285457208520,0.000475627195556,-0.000063247469370,0.000363486265996,0.016331864520907,0.000003107738848,-0.007384596858174) * MODEL10_texOff(vec2(1,0));
res += mat4(0.003528727917001,0.002358548576012,-0.000196945082280,0.001978054177016,-0.001628391095437,-0.000378486089176,-0.001557926763780,-0.006160715129226,0.000890425755642,0.000865955546033,0.001252325950190,0.000821176625323,0.003372086444870,0.007407106459141,-0.001496079261415,-0.015809869393706) * MODEL10_texOff(vec2(1,1));
res += mat4(0.004381247330457,0.004052140284330,0.001991359284148,-0.000075996831583,-0.000287781498628,-0.000271781231277,-0.000398579461034,-0.000135892842081,0.003125853603706,-0.001231762231328,0.000431371619925,0.001936225686222,0.005979292094707,0.003460218897089,0.001658744295128,0.001262810779735) * MODEL11_texOff(vec2(-1,-1));
res += mat4(0.001957487314939,0.002299023559317,0.002660391386598,0.003946047276258,-0.000488339923322,-0.001167995040305,-0.001553819514811,-0.001224607694894,0.000267956143944,0.000424339843448,0.000728529877961,0.002408823231235,0.008649169467390,0.010591345839202,0.012037792243063,0.011779894120991) * MODEL11_texOff(vec2(-1,0));
res += mat4(-0.001354563515633,-0.001145848887973,0.000061937294959,0.001110974117182,-0.000456079287687,-0.000444079109002,-0.000305097782984,0.000497908855323,-0.000386955041904,-0.000094990202342,0.000418492796598,0.000302221247694,0.001687144744210,0.001952312188223,0.002670662244782,0.005289129447192) * MODEL11_texOff(vec2(-1,1));
res += mat4(-0.013768533244729,-0.006796451285481,-0.003063668264076,-0.000228461853112,0.006735909730196,0.007191254757345,0.005972633138299,0.004149347078055,0.014707648195326,0.001147197908722,-0.005942254792899,0.000305885216221,-0.000694392365403,0.003493107622489,0.006181222386658,0.005850621033460) * MODEL11_texOff(vec2(0,-1));
res += mat4(-0.003784604370594,-0.013280963525176,-0.020471381023526,-0.020793519914150,0.003159248502925,0.001907539670356,0.001468565664254,0.004360223654658,0.011311957612634,0.008313240483403,-0.022731855511665,-0.009579803794622,-0.025758441537619,-0.028789082542062,-0.023257659748197,-0.010521480813622) * MODEL11_texOff(vec2(0,0));
res += mat4(0.000535224215128,0.001379045308568,0.004664549138397,0.004183582495898,0.004803580231965,0.008914314210415,0.009277438744903,0.005309096537530,-0.001502655097283,-0.002353518269956,-0.000978543306701,-0.002241838723421,0.003749296767637,0.001234349329025,-0.006971104536206,-0.016054596751928) * MODEL11_texOff(vec2(0,1));
res += mat4(-0.010561929084361,-0.006252855993807,-0.003231390379369,-0.001861649914645,-0.009530211798847,-0.001282597659156,0.002061479957774,0.002472331281751,0.025568623095751,-0.006679860409349,-0.009503879584372,-0.001754335360602,-0.006133625283837,-0.004627853166312,-0.001866929000244,0.001768520800397) * MODEL11_texOff(vec2(1,-1));
res += mat4(0.010851541534066,0.001349698752165,-0.009478517808020,-0.014150218106806,-0.026239158585668,-0.034167587757111,-0.032384663820267,-0.021852539852262,0.010006327182055,-0.011856300756335,-0.027138542383909,0.011980289593339,0.010615770705044,0.005666119512171,-0.001508067245595,-0.006308577489108) * MODEL11_texOff(vec2(1,0));
res += mat4(0.002136718947440,0.002433403162286,0.004473476205021,0.010308037512004,0.004920829553157,0.006455810274929,0.000302623666357,-0.012366532348096,0.000309732015012,0.002251931000501,0.003142127534375,0.003897881135345,0.001265430124477,0.003191295079887,0.006742628291249,0.011240430176258) * MODEL11_texOff(vec2(1,1));
res += mat4(0.001073052175343,-0.002296024700627,-0.003534058807418,-0.002352569019422,-0.003566044382751,0.003410542616621,0.004592823330313,0.002218906767666,-0.003481972962618,-0.001662114169449,0.001206018961966,0.002476459136233,0.001033920911141,0.002298277569935,0.001801233622245,-0.000110017834231) * MODEL12_texOff(vec2(-1,-1));
res += mat4(-0.000432995933807,0.000339851481840,0.001487600151449,0.001224539009854,0.001366669777781,0.002087541623041,-0.000440836825874,-0.007757957093418,0.001116612344049,0.002716251881793,0.002486493205652,-0.002093341201544,0.001482196268626,0.002703031292185,0.003650024533272,0.003479171311483) * MODEL12_texOff(vec2(-1,0));
res += mat4(-0.004408043343574,-0.006047977600247,0.005788458976895,0.006007835734636,-0.006120698060840,-0.008124809712172,0.001211077324115,0.006501439958811,-0.001463710563257,-0.001282311626710,0.000494684791192,0.000978669733740,-0.004230157006532,-0.004866158589721,-0.001802396727726,0.000209816673305) * MODEL12_texOff(vec2(-1,1));
res += mat4(0.013010417111218,0.000158539100084,0.002508660778403,0.005590381100774,0.010570661164820,0.004630558192730,0.003572668647394,-0.000070683752710,0.020521353930235,-0.007828688248992,-0.018914716318250,-0.011608590371907,-0.007105301134288,0.002353295916691,0.001106987125240,-0.003235671902075) * MODEL12_texOff(vec2(0,-1));
res += mat4(0.039918869733810,-0.017429893836379,-0.032149136066437,0.013165770098567,0.048103574663401,-0.031060561537743,-0.041977193206549,0.006982500199229,-0.017876168712974,-0.005613000132143,0.020527824759483,0.037800040096045,0.031743448227644,-0.005043751560152,-0.026969419792295,-0.025661587715149) * MODEL12_texOff(vec2(0,0));
res += mat4(-0.003094044514000,-0.007340683136135,-0.010641908273101,0.021889386698604,-0.010122724808753,-0.011899524368346,-0.013001121580601,0.033929247409105,0.001150927040726,0.002551010111347,-0.002077279146761,-0.010768569074571,-0.010579207912087,-0.004165013786405,0.013436885550618,0.036367163062096) * MODEL12_texOff(vec2(0,1));
res += mat4(-0.020937683060765,-0.007752154022455,0.003023392986506,0.002317199250683,0.004096011631191,0.000736881454941,-0.002605775836855,-0.002511223079637,-0.007602325640619,-0.004349820315838,-0.002811351325363,-0.001156839425676,0.006165283732116,0.004725299309939,0.002952298382297,0.000899720820598) * MODEL12_texOff(vec2(1,-1));
res += mat4(-0.027623957023025,-0.006576039362699,0.043499898165464,0.017297243699431,-0.002633793279529,-0.000653762486763,-0.004860116634518,-0.000159671195433,0.001343255746178,-0.006319703068584,-0.011659854091704,-0.012450410053134,0.005991337820888,-0.007570438552648,-0.015150533989072,-0.001767582609318) * MODEL12_texOff(vec2(1,0));
res += mat4(0.002223900286481,0.002172964159399,0.004853643476963,-0.001038416405208,-0.000646542757750,0.002582539804280,0.003295299829915,-0.003043155418709,0.000350583955878,0.000687867926899,0.002213300438598,0.004706467967480,0.002288323827088,0.005821111146361,0.010659313760698,0.011313415132463) * MODEL12_texOff(vec2(1,1));
return res;
}

//!HOOK LUMA
//!WHEN OUTPUT.w LUMA.w 3.200 * > OUTPUT.h LUMA.h 3.200 * > *
//!WIDTH LUMA.w 4 *
//!HEIGHT LUMA.h 4 *
//!BIND SUBCONV1
//!BIND SUBCONV2
//!BIND SUBCONV3
//!BIND SUBCONV4
//!BIND LANCZOS3
//!DESC [AiUpscale_HQ_Sharp_4x_Photo] depth to space

vec4 hook()
{
vec2 fcoord = fract(SUBCONV1_pos * SUBCONV1_size);
vec2 base = SUBCONV1_pos + (vec2(0.5) - fcoord) * SUBCONV1_pt;
ivec2 index = ivec2(fcoord * vec2(4));
mat4 res = mat4(SUBCONV1_tex(base),SUBCONV2_tex(base),SUBCONV3_tex(base),SUBCONV4_tex(base));
return vec4(res[index.x][index.y] + float(LANCZOS3_texOff(0)), 0, 0, 1);
}
